mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 06:38:13 -05:00
✨ Feature: add ts support for upyun
This commit is contained in:
parent
3085385e03
commit
95faa5b247
@ -99,6 +99,7 @@
|
|||||||
"@types/request-promise-native": "^1.0.18",
|
"@types/request-promise-native": "^1.0.18",
|
||||||
"@types/semver": "^7.5.0",
|
"@types/semver": "^7.5.0",
|
||||||
"@types/tunnel": "^0.0.3",
|
"@types/tunnel": "^0.0.3",
|
||||||
|
"@types/upyun": "^3.4.0",
|
||||||
"@types/uuid": "^9.0.2",
|
"@types/uuid": "^9.0.2",
|
||||||
"@types/write-file-atomic": "^4.0.0",
|
"@types/write-file-atomic": "^4.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
// 忽略 TypeScript 错误
|
|
||||||
// @ts-ignore
|
|
||||||
import Upyun from 'upyun'
|
import Upyun from 'upyun'
|
||||||
|
|
||||||
// 加密函数、获取文件 MIME 类型、新的下载器、got 上传函数、并发异步任务池、错误格式化函数
|
// 加密函数、获取文件 MIME 类型、新的下载器、got 上传函数、并发异步任务池、错误格式化函数
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
// @ts-ignore
|
|
||||||
import Upyun from 'upyun'
|
import Upyun from 'upyun'
|
||||||
|
|
||||||
export default class UpyunApi {
|
export default class UpyunApi {
|
||||||
|
@ -3512,6 +3512,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
|
"@types/upyun@^3.4.0":
|
||||||
|
version "3.4.0"
|
||||||
|
resolved "https://registry.npmjs.org/@types/upyun/-/upyun-3.4.0.tgz#1f32321ad602ce8314d10f36373e3e43238c4fe1"
|
||||||
|
integrity sha512-rO0YXtVPL5r57qYClRFKjIEi84fyRzZQijGkemUbcS2FZ8eXspAxDarzgDJF++B+jKkF2Ojn2WIhFoRrWWK/dw==
|
||||||
|
dependencies:
|
||||||
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/uuid@^9.0.2":
|
"@types/uuid@^9.0.2":
|
||||||
version "9.0.2"
|
version "9.0.2"
|
||||||
resolved "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.2.tgz#ede1d1b1e451548d44919dc226253e32a6952c4b"
|
resolved "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.2.tgz#ede1d1b1e451548d44919dc226253e32a6952c4b"
|
||||||
|
Loading…
Reference in New Issue
Block a user