Skip to content

Commit 442a097

Browse files
wip(core): fix type
1 parent a9609fb commit 442a097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export async function transformJSCode(source : string, moduleSourceType : boolea
206206

207207
const { additionalBabelPlugins = [], log } = options;
208208

209-
let ast: t.Node;
209+
let ast: t.File;
210210
try {
211211

212212
ast = babel_parse(source, {

0 commit comments

Comments
 (0)