-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
area: typescriptoutdatedA 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 issuepkg: parser
Description
Feature Request
- I would like to work on this feature!
Is your feature request related to a problem?
Yes. The current babel-parser cannot distinguish between .d.ts
files and normal .ts
files. Because of this, it is not able to throw the proper error. See https://github.com/babel/babel/pull/13101/files#r607217487
Describe the solution you'd like
Add new option dts: boolean
to babel-parser TypeScript plugin.
Describe alternatives you've considered.
Throw recoverable errros.
Documentation, Adoption, Migration Strategy
nicolo-ribaudo
Metadata
Metadata
Assignees
Labels
area: typescriptoutdatedA 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 issuepkg: parser