diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f09c47dada159fa1d8313c2093114d826dc18cde --- /dev/null +++ b/index.d.ts @@ -0,0 +1,5 @@ +declare module 'vue/types/vue' { + interface Vue { + $t: (s: string) => any; + } +} diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000000000000000000000000000000000000..b14c1835fe67ad21108d91d48cdf3dd7c0157eb0 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@/*": ["src/*"] + } + }, + "include": ["./index.d.ts"] +}