Skip to content

Commit 4a0d082

Browse files
committed
fix type
1 parent 4c532b6 commit 4a0d082

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/middleware.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ export declare class AcornParseClass extends Parser {
4747
scopeStack: any[];
4848
inModule: any;
4949
undefinedExports: any;
50-
lastTokEndLoc: any;
51-
lastTokStartLoc: any;
50+
lastTokEndLoc: Position;
51+
lastTokStartLoc: Position;
5252
context: any[];
53-
endLoc: any;
54-
startLoc: any;
53+
endLoc: Position;
54+
startLoc: Position;
5555
potentialArrowInForAwait: boolean;
5656
type: TokenType & Record<string, any>;
5757
start: number;

0 commit comments

Comments
 (0)