Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-06-08 09:48:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e69b25d2c2c50cf4d56aad3eee2e875609c87247
e69b25d2
1 parent
0b5356bf
🐎 ci: TS配置调整
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletions
src/env.d.ts
src/shims-vue.d.ts
tsconfig.json
src/env.d.ts
View file @
e69b25d
/*
* @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
...
...
src/shims-vue.d.ts
0 → 100644
View file @
e69b25d
/*
* @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
;
}
tsconfig.json
View file @
e69b25d
...
...
@@ -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
//
}
}
...
...
Please
register
or
login
to post a comment