Skip to content

Commit dfb68b6

Browse files
committed
Update packages/babel-parser/typings/babel-parser.d.ts
1 parent 8f2f1e6 commit dfb68b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/babel-parser/typings/babel-parser.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ type ParseError = ParseError$1<object>;
246246
type ParseResult<Result extends File | Expression = File> = Result & {
247247
comments: File["comments"];
248248
errors: null | ParseError[];
249-
tokens: File["tokens"];
249+
tokens?: File["tokens"];
250250
};
251251
/**
252252
* Parse the provided code as an entire ECMAScript program.

0 commit comments

Comments
 (0)