Skip to content

Commit 872b58b

Browse files
authored
fix(client): Make argument optional in Local transport (#731)
Fixes #729
1 parent 0088cb5 commit 872b58b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client/transport/local.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export class LocalTransport extends Transport {
236236
}
237237

238238
const localMasters = new Map();
239-
export function Local(opts: Pick<LocalMasterOpts, 'bots'>) {
239+
export function Local(opts?: Pick<LocalMasterOpts, 'bots'>) {
240240
return (
241241
transportOpts: Pick<LocalMasterOpts, 'game'> &
242242
LocalTransportOpts & { gameKey: Game }

0 commit comments

Comments
 (0)