Skip to content

Commit 075fb6f

Browse files
committed
fix: enhance TS
1 parent ef803e0 commit 075fb6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ program
3434
const options = handleOptions(program.opts() as Options)
3535

3636
const root = toTree(options)
37-
const result = generate(root.children, options)
37+
const result = generate(root.children!, options)
3838

3939
onExits.forEach((fn) => fn(result))
4040

0 commit comments

Comments
 (0)