From 3b028ee0b9db60b5b7f06a99e8fcd8337555d2a0 Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Mon, 17 Feb 2020 22:01:11 +0200 Subject: [PATCH] .d.ts: stringify() accepts a single Node as well per implementation and README --- lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 36c052c..764c435 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -140,7 +140,7 @@ declare namespace postcssValueParser { * @param custom A custom stringifier callback * @returns The generated CSS value */ - stringify(nodes: Node[], custom?: CustomStringifierCallback): string; + stringify(nodes: Node | Node[], custom?: CustomStringifierCallback): string; /** * Walk a series of nodes, applying a callback