💻
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
this doesn't parse
but this does:
function assert(condition: any): asserts condition {}
Configuration file name
No response
Configuration
No response
Current and expected behavior
parsing should match typescript
Environment
babel repl
Possible solution
No response
Additional context
No response
💻
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
this doesn't parse
but this does:
Configuration file name
No response
Configuration
No response
Current and expected behavior
parsing should match typescript
Environment
babel repl
Possible solution
No response
Additional context
No response