Skip to content

Commit

Permalink
fix flying squid ambient typings
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Mar 21, 2024
1 parent 64a1838 commit 64f16cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/createLocalServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { createMCServer } = require('flying-squid/dist')
export const startLocalServer = (serverOptions) => {
const passOptions = { ...serverOptions, Server: LocalServer }
const server: NonNullable<typeof localServer> = createMCServer(passOptions)
//@ts-expect-error browser patch
server.formatMessage = (message) => `[server] ${message}`
server.options = passOptions
//@ts-expect-error todo remove
Expand Down

0 comments on commit 64f16cb

Please sign in to comment.