-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Labels
area: typescriptbabel 8i: regressionoutdatedA 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: generator
Description
💻
- Would you like to work on a fix?
How are you using Babel?
babel-loader (webpack)
Input code
type a = b | (() => c);Configuration file name
No response
Configuration
No response
Current and expected behavior
Babel prints it as
type a = b | () => c;But it should preserve the parehtneses
Environment
/
Possible solution
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: typescriptbabel 8i: regressionoutdatedA 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: generator