See https://typescript-eslint.io/blog/announcing-typescript-eslint-v8-beta/#ast-breaking-changes
We should probably to this for Babel 8, since we are otherwise aligned as far as I know. @fisker are there any other differences between Babel (in estree mode) and typescript-eslint that you know of?
Ref #10746 (comment)
Edits by @JLHwung:
See https://typescript-eslint.io/blog/announcing-typescript-eslint-v8-beta/#ast-breaking-changes
We should probably to this for Babel 8, since we are otherwise aligned as far as I know. @fisker are there any other differences between Babel (in estree mode) and typescript-eslint that you know of?
Ref #10746 (comment)
Edits by @JLHwung:
MethodDefinition { abstract: true, ... }toTSAbstractMethodDefinition { ... },PropertyDefinition { abstract: true, ... }toTSAbstractPropertyDefinition { ... }, thevalueof anTSAbstractMethodDefinitionmust be aTSEmptyBodyFunctionExpression([Babel 8] Create TSAbstract{Method,Property}Definition #17014)typeParameterstotypeArgumentsforTSClassImplementsandTSInterfaceHeritage([Babel 8]: renametypeParameterstotypeArgumentsforTSClassImplementsandTSInterfaceHeritage#17017)typeParameterstotypeArgumentsforCallExpression(RenametypeParameterstotypeArgumentsfor call expression alike #17020)typeParameterstotypeArgumentsforTSImportType([Babel 8] RenametypeParameterstotypeArgumentsinTSImportType#17042)typeParameterstotypeArgumentsforTSTypeQuery(RenametypeParameterstotypeArgumentsforTSTypeQuery#17012)isExportkey inTSImportEqualsDeclaration, replaceTSImportEqualsDeclaration { isExport: true, ... }with theExportNamedDeclaration { declaration: TSImportEqualsDeclaration {...} }([Babel 8] Parseexport import =as an ExportNamedDeclaration #17073)argumentof theTSImportTypeshould be wrapped within theTSLiteralType([Babel 8]: wrap the TSImportType's argument within a TSLiteralType #17046)TSLiteralType { literal: TemplateLiteral { ... } }toTSTemplateLiteralType { ... }([Babel 8] Create TSTemplateLiteralType #17066)TSTypeQuery { exprName: Identifier { name: "this" }toTSTypeQuery { exprName: ThisExpression }([Babel 8] Create ThisExpression fortypeof this#17059)typeParametersof an object method should be moved into its function expression value node ([estree] Unify method type parameters handling #17045)expressionof a TSHeritageBase should be an expression ([Babel 8] Parse TSHeritageBase.expression as an expression #17139)