Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
Sceat committed Apr 23, 2024
1 parent cd4c830 commit 02af815
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,6 @@ export module 'events' {
}
}

interface create_client {
controller: AbortController
stream: NodeJS.ReadWriteStream
send: <T extends keyof Packets>(type: T, payload: Packets[T]) => void
end: (message: string) => void
on_end: (cb) => void
notify_message: (message: ArrayBuffer) => void
notify_end: (message: string) => void
}

type Position = {
x: number
y: number
Expand Down

0 comments on commit 02af815

Please sign in to comment.