Skip to content

Commit 652d8f7

Browse files
types: also support list of nodes
1 parent a909311 commit 652d8f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import {Node} from 'unist'
33

44
declare namespace mdastToString {}
55

6-
declare function mdastToString(node: Node): string
6+
declare function mdastToString(node: Node | Node[]): string
77

88
export = mdastToString

0 commit comments

Comments
 (0)