diff --git a/src/vue-sfc-shim.d.ts b/src/vue-sfc-shim.d.ts new file mode 100644 index 000000000..6fc7d745e --- /dev/null +++ b/src/vue-sfc-shim.d.ts @@ -0,0 +1,6 @@ +declare module '*.vue' { + // eslint-disable-next-line + import { DefineComponent } from 'vue'; + const Component: DefineComponent; + export default Component; +} diff --git a/src/vue-shim.d.ts b/src/vue-tsx-shim.d.ts similarity index 100% rename from src/vue-shim.d.ts rename to src/vue-tsx-shim.d.ts