hookehuyr

🐎 ci: TS配置调整

/*
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-14 23:28:39
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-07 22:49:56
* @FilePath: /tswj/src/env.d.ts
* @Description:
*/
interface ImportMetaEnv extends Readonly<Record<string, string>> {
readonly VITE_OPENID: string
readonly VITE_ID: string
......
/*
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-06-07 22:46:46
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-08 05:34:56
* @FilePath: /tswj/src/shims-vue.d.ts
* @Description:
*/
declare module '*.vue' {
import type { DefineComponent } from 'vue';
const component: DefineComponent;
export default component;
}
......@@ -13,6 +13,7 @@
"isolatedModules": true,
"baseUrl": ".",
"allowJs": true,
// "checkJs": true,
"types": [
// "webpack-env",
"vite/client",
......@@ -41,5 +42,8 @@
"exclude": [
"node_modules",
"dist"
]
],
// "vueCompilerOptions": {
// "experimentalSuppressInvalidJsxElementTypeErrors": true
// }
}
......