Skip to content

Commit 8526524

Browse files
committed
feat: add instance properties to AcornJsxParser
1 parent baa0a61 commit 8526524

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ export class AcornJsxParser extends acorn.Parser {
2626
tokContexts: typeof tokContexts
2727
};
2828

29+
pos: number;
30+
start: number;
31+
input: string;
32+
lineStart: number;
33+
type: acorn.TokenType;
34+
exprAllowed: boolean;
35+
context: acorn.TokContext[];
36+
2937
jsx_readToken(): string;
3038
jsx_readNewLine(normalizeCRLF: boolean): void;
3139
jsx_readString(quote: number): void;

0 commit comments

Comments
 (0)