移除多余类型

This commit is contained in:
lyswhut
2022-11-04 14:50:46 +08:00
parent 3f8c47100d
commit 9e6bfaada4
2 changed files with 1 additions and 12 deletions
-11
View File
@@ -104,17 +104,6 @@ declare namespace LX {
prev: boolean prev: boolean
} }
interface Wait {
time: number
id: string
}
type WaitCancel = string
interface Interval {
time: number
id: string
}
type IntervalCancel = string
interface VersionInfo { interface VersionInfo {
version: string version: string
desc: string desc: string
+1 -1
View File
@@ -12,7 +12,7 @@ declare global {
data: SocketData data: SocketData
} }
class RemoteSocket extends _RemoteSocket<DefaultEventsMap, any> { class RemoteSocket extends _RemoteSocket<DefaultEventsMap, any> {
readonly data: SyncSocketData readonly data: SocketData
} }
interface Data { interface Data {
action: string action: string