[BUG/TypeScript] declare global
conflict with block declaration
#13112
Labels
area: typescript
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Bug Report
Current behavior
Code
trigger an scope error:
Input Code
As described above.
Expected behavior
This piece of code is valid in TypeScript.
Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)
babel.config.js
Environment
webpack
,rollup
,parcel
,babel-register
]Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: