Skip to content

Commit

Permalink
Export Expression type from @babel/parser
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Apr 26, 2024
1 parent c1a84dc commit d4bab9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
} from "./tokenizer/types.ts";

import type { Expression, File } from "./types.ts";
export type { File };
export type { Expression, File };

export function parse(input: string, options?: Options): File {
if (options?.sourceType === "unambiguous") {
Expand Down

0 comments on commit d4bab9e

Please sign in to comment.