summaryrefslogtreecommitdiff
path: root/node_modules/postcss/lib/comment.d.ts
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-08-30 17:21:18 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-08-30 17:21:18 +0800
commitefbc2ffe6a1ee5ec38a4396305561d6515d0943e (patch)
tree2b4c94f18f2c792dfda813050755d5c0273fae22 /node_modules/postcss/lib/comment.d.ts
parent43acceb75957c880a5ba5a31aae221394a36d5f6 (diff)
node fixes, updates
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_ {}