summaryrefslogtreecommitdiff
path: root/node_modules/postcss/lib/comment.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/postcss/lib/comment.d.ts')
-rw-r--r--node_modules/postcss/lib/comment.d.ts19
1 files changed, 10 insertions, 9 deletions
diff --git a/node_modules/postcss/lib/comment.d.ts b/node_modules/postcss/lib/comment.d.ts
index d2445088..2b1a156d 100644
--- a/node_modules/postcss/lib/comment.d.ts
+++ b/node_modules/postcss/lib/comment.d.ts
@@ -48,18 +48,19 @@ declare namespace Comment {
declare class Comment_ extends Node {
parent: Container | undefined
raws: Comment.CommentRaws
- /**
- * The comment's text.
- */
- text: string
-
type: 'comment'
-
constructor(defaults?: Comment.CommentProps)
+
assign(overrides: Comment.CommentProps | object): this
- clone(overrides?: Partial<Comment.CommentProps>): Comment
- cloneAfter(overrides?: Partial<Comment.CommentProps>): Comment
- cloneBefore(overrides?: Partial<Comment.CommentProps>): Comment
+
+ clone(overrides?: Partial<Comment.CommentProps>): this
+ cloneAfter(overrides?: Partial<Comment.CommentProps>): this
+ cloneBefore(overrides?: Partial<Comment.CommentProps>): this
+ /**
+ * The comment's text.
+ */
+ get text(): string
+ set text(value: string)
}
declare class Comment extends Comment_ {}