-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Milestone
Description
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:
- Convert
MethodDefinition { abstract: true, ... }toTSAbstractMethodDefinition { ... },PropertyDefinition { abstract: true, ... }toTSAbstractPropertyDefinition { ... }, thevalueof anTSAbstractMethodDefinitionmust be aTSEmptyBodyFunctionExpression([Babel 8] Create TSAbstract{Method,Property}Definition #17014) - Rename
typeParameterstotypeArgumentsforTSClassImplementsandTSInterfaceHeritage([Babel 8]: renametypeParameterstotypeArgumentsforTSClassImplementsandTSInterfaceHeritage#17017) - Rename
typeParameterstotypeArgumentsforCallExpression(RenametypeParameterstotypeArgumentsfor call expression alike #17020) - Rename
typeParameterstotypeArgumentsforTSImportType([Babel 8] RenametypeParameterstotypeArgumentsinTSImportType#17042) - Rename
typeParameterstotypeArgumentsforTSTypeQuery(RenametypeParameterstotypeArgumentsforTSTypeQuery#17012) - Remove the
isExportkey inTSImportEqualsDeclaration, replaceTSImportEqualsDeclaration { isExport: true, ... }with theExportNamedDeclaration { declaration: TSImportEqualsDeclaration {...} }([Babel 8] Parseexport import =as an ExportNamedDeclaration #17073) - The
argumentof theTSImportTypeshould be wrapped within theTSLiteralType([Babel 8]: wrap the TSImportType's argument within a TSLiteralType #17046) - Convert
TSLiteralType { literal: TemplateLiteral { ... } }toTSTemplateLiteralType { ... }([Babel 8] Create TSTemplateLiteralType #17066) - Convert
TSTypeQuery { exprName: Identifier { name: "this" }toTSTypeQuery { exprName: ThisExpression }([Babel 8] Create ThisExpression fortypeof this#17059) - The
typeParametersof an object method should be moved into its function expression value node ([estree] Unify method type parameters handling #17045) - The
expressionof a TSHeritageBase should be an expression ([Babel 8] Parse TSHeritageBase.expression as an expression #17139)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue