初始
This commit is contained in:
8
env.d.ts
vendored
Normal file
8
env.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// env.d.ts
|
||||
// 这个文件生效的前提是 tsconfig.json 中配置了 "include": ["env.d.ts"],
|
||||
declare module "*.vue" {
|
||||
import { DefineComponent } from "vue";
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
||||
const component: DefineComponent<{}, {}, any>;
|
||||
export default component;
|
||||
}
|
||||
Reference in New Issue
Block a user