From 4e399b373aface9400b203d07bc324c07ff082df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Fri, 26 Apr 2024 17:45:30 +0200 Subject: [PATCH] Export `Expression` type from `@babel/parser` --- packages/babel-parser/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-parser/src/index.ts b/packages/babel-parser/src/index.ts index f163d788eb31..8e433adf1185 100644 --- a/packages/babel-parser/src/index.ts +++ b/packages/babel-parser/src/index.ts @@ -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") {