File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ export function tsPlugin(options?: {
430430 return (
431431 base . type === 'Identifier' &&
432432 base . name === 'async' &&
433- this . lastTokEndLoc . column === base . end &&
433+ this . lastTokEnd === base . end &&
434434 ! this . canInsertSemicolon ( ) &&
435435 base . end - base . start === 5 &&
436436 base . start === this . potentialArrowAt
@@ -4165,7 +4165,7 @@ export function tsPlugin(options?: {
41654165 override = modified . override ;
41664166 readonly = modified . readonly ;
41674167 if ( allowModifiers === false && ( accessibility || readonly || override ) ) {
4168- this . raise ( startLoc . start , TypeScriptError . UnexpectedParameterModifier ) ;
4168+ this . raise ( startLoc . column , TypeScriptError . UnexpectedParameterModifier ) ;
41694169 }
41704170 }
41714171
You can’t perform that action at this time.
0 commit comments