refactor: ♻️ eslint 代码规范调整
This commit is contained in:
5
src/types/env.d.ts
vendored
5
src/types/env.d.ts
vendored
@@ -1,9 +1,8 @@
|
||||
// https://cn.vitejs.dev/guide/env-and-mode
|
||||
|
||||
declare module "*.vue" {
|
||||
import { DefineComponent } from "vue";
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
||||
const component: DefineComponent<{}, {}, any>;
|
||||
import type { DefineComponent } from "vue";
|
||||
const component: DefineComponent<object, object, any>;
|
||||
export default component;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user