You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a warning in .vue files: cannot use imports, exports and module augmentations when '--module' is 'none' whereas the module type is specified in my .tsconfig file:
{
"compilerOptions": {
"module": "es2015",
....
}
Where should I specify it else?
Steps to recreate
Create a .tsconfig file and set module property to 'es2015'
Create a .vue file containing a script e.g.:
<script lang="ts">
import Loader from './Loader.ts'
export default Loader
</script>
Current behavior
The warning appear on 'import' directive.
Expected behavior
No warnings.
The text was updated successfully, but these errors were encountered:
Installed product versions
Description
I get a warning in .vue files: cannot use imports, exports and module augmentations when '--module' is 'none' whereas the module type is specified in my .tsconfig file:
{
"compilerOptions": {
"module": "es2015",
....
}
Where should I specify it else?
Steps to recreate
Current behavior
The warning appear on 'import' directive.
Expected behavior
No warnings.
The text was updated successfully, but these errors were encountered: