Skip to content

Commit

Permalink
fix(rpc-tcp): change import to support esm
Browse files Browse the repository at this point in the history
ref #470
  • Loading branch information
marcj committed Sep 4, 2023
1 parent 4709a5d commit 727afc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rpc-tcp/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class RpcTcpServer {
}
}

import ws from 'ws';
import * as ws from 'ws';
import type { ServerOptions as WebSocketServerOptions } from 'ws';
import { IncomingMessage } from 'http';

Expand Down

0 comments on commit 727afc4

Please sign in to comment.