mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix Vue typings
This commit is contained in:
parent
c9f5f9caae
commit
11c52ddb11
@ -20,11 +20,10 @@
|
||||
"sass": "^1.22.10",
|
||||
"terser": "^5.3.8",
|
||||
"typescript": "^4.0.5",
|
||||
"vue": "^2.6.10",
|
||||
"vue": "^2.6.12",
|
||||
"vuex": "^3.1.2"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "node postinstall.js",
|
||||
"serve": "node script/server.js"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
const fs = require('fs')
|
||||
const path = './node_modules/vue/types/umd.d.ts'
|
||||
if (fs.existsSync(path)) {
|
||||
fs.unlinkSync(path)
|
||||
}
|
||||
3
src/global.d.ts
vendored
3
src/global.d.ts
vendored
@ -1,10 +1,9 @@
|
||||
import { LoDashStatic } from 'lodash'
|
||||
import { VueConstructor } from 'vue'
|
||||
import { Store } from 'vuex'
|
||||
|
||||
declare global {
|
||||
const _: LoDashStatic
|
||||
const Vue: VueConstructor
|
||||
const Vue: typeof import('vue/types/umd')
|
||||
const Vuex: typeof import('vuex')
|
||||
const JSZip: typeof import('jszip')
|
||||
const store: Store<{
|
||||
|
||||
@ -1873,10 +1873,10 @@ vary@^1.1.2:
|
||||
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
|
||||
integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=
|
||||
|
||||
vue@^2.6.10:
|
||||
version "2.6.11"
|
||||
resolved "https://registry.npm.taobao.org/vue/download/vue-2.6.11.tgz#76594d877d4b12234406e84e35275c6d514125c5"
|
||||
integrity sha1-dllNh31LEiNEBuhONSdcbVFBJcU=
|
||||
vue@^2.6.12:
|
||||
version "2.6.12"
|
||||
resolved "https://registry.nlark.com/vue/download/vue-2.6.12.tgz?cache=0&sync_timestamp=1622060354904&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvue%2Fdownload%2Fvue-2.6.12.tgz#f5ebd4fa6bd2869403e29a896aed4904456c9123"
|
||||
integrity sha1-9evU+mvShpQD4pqJau1JBEVskSM=
|
||||
|
||||
vuex@^3.1.2:
|
||||
version "3.4.0"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user