chore: bump ts to 4.8 (#3654)

* chore: bump ts to 4.7

Signed-off-by: Sepush <sepush@outlook.com>

* chore: bump to ts 4.8

Signed-off-by: Sepush <sepush@outlook.com>
This commit is contained in:
Sepush 2022-09-09 19:36:43 +08:00 committed by GitHub
parent 66222ab04a
commit 4e3fba1be3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

View File

@ -91,16 +91,16 @@
"@rollup/plugin-replace": "^4.0.0",
"@types/estree": "^1.0.0",
"@types/jest": "^28.1.3",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"@vicons/fluent": "^0.12.0",
"@vicons/ionicons4": "^0.12.0",
"@vicons/ionicons5": "^0.12.0",
"@vitejs/plugin-vue": "^3.0.0",
"@vue/compiler-sfc": "^3.2.36",
"@vue/compiler-sfc": "^3.2.39",
"@vue/eslint-config-standard": "^8.0.1",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/server-renderer": "^3.2.36",
"@vue/eslint-config-typescript": "^11.0.1",
"@vue/server-renderer": "^3.2.39",
"@vue/test-utils": "^2.0.2",
"autoprefixer": "^10.4.4",
"babel-jest": "^28.1.3",
@ -118,7 +118,7 @@
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-vue": "^9.3.0",
"eslint-plugin-vue": "^9.4.0",
"express": "^4.17.3",
"fast-glob": "^3.2.11",
"fs-extra": "^10.0.1",
@ -137,12 +137,12 @@
"rollup-plugin-terser": "^7.0.2",
"superagent": "^8.0.0",
"ts-jest": "^28.0.1",
"typescript": "~4.6.3",
"typescript": "~4.8.3",
"vfonts": "^0.1.0",
"vite": "3.0.9",
"vue": "^3.2.36",
"vue": "^3.2.39",
"vue-router": "^4.0.14",
"vue-tsc": "^0.40.1"
"vue-tsc": "^0.40.5"
},
"peerDependencies": {
"vue": "^3.0.0"

View File

@ -1,3 +1,3 @@
export function keysOf<T> (obj: T): Array<keyof T> {
export function keysOf<T extends {}> (obj: T): Array<keyof T> {
return Object.keys(obj) as any
}

View File

@ -181,7 +181,7 @@ export default defineComponent({
<NTooltip
ref="tooltipRef"
placement="top"
{...tooltip}
{...(tooltip as PopoverProps)}
getDisabled={this.getTooltipDisabled}
theme={mergedTheme.peers.Tooltip}
themeOverrides={mergedTheme.peerOverrides.Tooltip}