* Throw a better error when transforming imported bindings in types * Also type casts * Update error message
7 lines
308 B
JSON
7 lines
308 B
JSON
{
|
|
"externalHelpers": true,
|
|
"sourceType": "module",
|
|
"plugins": ["transform-modules-commonjs", "syntax-typescript"],
|
|
"throws": "Cannot transform the imported binding \"A\" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow."
|
|
}
|