Skip to content

Commit d3e1fb3

Browse files
authored
fix(types): stringify() accepts a single Node as well (#65)
1 parent eb78a47 commit d3e1fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ declare namespace postcssValueParser {
140140
* @param custom A custom stringifier callback
141141
* @returns The generated CSS value
142142
*/
143-
stringify(nodes: Node[], custom?: CustomStringifierCallback): string;
143+
stringify(nodes: Node | Node[], custom?: CustomStringifierCallback): string;
144144

145145
/**
146146
* Walk a series of nodes, applying a callback

0 commit comments

Comments
 (0)