chore: 删除未使用代码 (#37)

This commit is contained in:
Redon authored and GitHub committed 2023-02-16 11:38:18 +08:00
1 parent bf015d35f7
commit c8518b7789
4 files changed
+1 -10

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ export function isNull<T extends null>(value: T | unknown): value is null {
return Object.prototype.toString.call(value) === '[object Null]'
}
export function isUndefine<T extends undefined>(value: T | unknown): value is undefined {
export function isUndefined<T extends undefined>(value: T | unknown): value is undefined {
return Object.prototype.toString.call(value) === '[object Undefined]'
}
-4
View File
@@ -11,10 +11,6 @@ export interface HttpOption {
afterRequest?: () => void
}
export interface ExtraOption {
notification?: boolean
}
export interface Response<T = any> {
data: T
message: string | null