Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: type fix for unist node

Dillion Verma263f27144c95
diff --git a/types/unist.ts b/types/unist.ts
index 29b635c1..871b09d4 100644
--- a/types/unist.ts
+++ b/types/unist.ts
@@ -19,7 +19,7 @@ export interface UnistNode extends Node {
children?: UnistNode[];
}
-export interface UnistTree extends Node {
+export interface UnistTree extends UnistNode {
children: UnistNode[];
}