From 1c0387549700d9ce64918fb5536e37350757c7dd Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 27 Mar 2024 15:44:30 +0800 Subject: updates --- node_modules/postcss/lib/node.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'node_modules/postcss/lib/node.d.ts') diff --git a/node_modules/postcss/lib/node.d.ts b/node_modules/postcss/lib/node.d.ts index 71b30159..59716564 100644 --- a/node_modules/postcss/lib/node.d.ts +++ b/node_modules/postcss/lib/node.d.ts @@ -246,7 +246,7 @@ declare abstract class Node_ { * @param newNode New node. * @return This node for methods chain. */ - after(newNode: Node | Node.ChildProps | Node[] | string): this + after(newNode: Node | Node.ChildProps | Node[] | string | undefined): this /** * It assigns properties to an existing node instance. @@ -273,7 +273,7 @@ declare abstract class Node_ { * @param newNode New node. * @return This node for methods chain. */ - before(newNode: Node | Node.ChildProps | Node[] | string): this + before(newNode: Node | Node.ChildProps | Node[] | string | undefined): this /** * Clear the code style properties for the node and its children. @@ -531,6 +531,6 @@ declare abstract class Node_ { warn(result: Result, message: string, options?: WarningOptions): Warning } -declare class Node extends Node_ { } +declare class Node extends Node_ {} export = Node -- cgit v1.2.3