Closed zigomir closed 7 years ago
Are you sure you're getting that? I thought the .d.ts
was already authored with default exports.
Yes, I'm pretty sure. I'm trying to figure out what I have different in my project compared to this repo, but even with exactly same tsconfing.json
and vue-file-shims.d.ts
I still get an error.
Using vscode
I actually see error in my vue-file-shims.d.ts
, but not in this repo. I though only tsconfig.json
or compilerOptions
can influence that. Where do you think I should look next?
[ts] Module '"/Users/<path>/node_modules/vue/types/index"' has no default export.
import Vue
:+1: This is recommended by Vue : https://vuejs.org/v2/guide/typescript.html#Recommended-Configuration
to
tsconfig.json
, otherwise error...node_modules/vue/types/index"' has no default export
is shown.