`declare-missing-class-properties` fails with error in `@babel/parser`
amitbeck opened this issue · 0 comments
amitbeck commented
The error:
Error: [declare-missing-class-properties][<some app>/dist/scripts.ae37101bcfd3368a0703.ts] Error:
SyntaxError: Identifier '_typeof' has already been declared. (20915:9)
at Object._raise (node_modules/@babel/parser/lib/index.js:541:17)
at Object.raiseWithData (node_modules/@babel/parser/lib/index.js:534:17)
at Object.raise (node_modules/@babel/parser/lib/index.js:495:17)
at TypeScriptScopeHandler.checkRedeclarationInScope (node_modules/@babel/parser/lib/index.js:1688:12)
at TypeScriptScopeHandler.declareName (node_modules/@babel/parser/lib/index.js:1654:12)
at TypeScriptScopeHandler.declareName (node_modules/@babel/parser/lib/index.js:7565:11)
at Object.registerFunctionStatementId (node_modules/@babel/parser/lib/index.js:14100:16)
at Object.registerFunctionStatementId (node_modules/@babel/parser/lib/index.js:9292:13)
at Object.parseFunction (node_modules/@babel/parser/lib/index.js:14080:12)
at Object.parseFunctionStatement (node_modules/@babel/parser/lib/index.js:13709:17) {
loc: Position { line: 20915, column: 9 },
pos: 2017488,
code: 'BABEL_PARSER_SYNTAX_ERROR',
reasonCode: 'VarRedeclaration'
}