Skip to content

Commit

Permalink
Export ParseResult type (#15207)
Browse files Browse the repository at this point in the history
Fixes #15094
  • Loading branch information
davydof committed Nov 25, 2022
1 parent f8b47f9 commit 4c59d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/typings/babel-parser.source.d.ts
Expand Up @@ -146,6 +146,6 @@ export interface ParseError {
reasonCode: string;
}

type ParseResult<Result> = Result & {
export type ParseResult<Result> = Result & {
errors: ParseError[];
};

0 comments on commit 4c59d9f

Please sign in to comment.