Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed May 31, 2022
1 parent e747cba commit ca3a09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-core/src/transformation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export type FileResult = {
export function* run(
config: ResolvedConfig,
code: string,
ast?: t.File | null,
ast?: t.File | t.Program | null,
): Handler<FileResult> {
const file = yield* normalizeFile(
config.passes,
Expand Down

0 comments on commit ca3a09d

Please sign in to comment.