File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Socket } from "./socket.js";
3
3
export { Socket } ;
4
4
export { SocketOptions } from "./socket.js" ;
5
5
export const protocol = Socket . protocol ;
6
- export { Transport } from "./transport.js" ;
6
+ export { Transport , TransportError } from "./transport.js" ;
7
7
export { transports } from "./transports/index.js" ;
8
8
export { installTimerFunctions } from "./util.js" ;
9
9
export { parse } from "./contrib/parseuri.js" ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { encode } from "./contrib/parseqs.js";
8
8
9
9
const debug = debugModule ( "engine.io-client:transport" ) ; // debug()
10
10
11
- class TransportError extends Error {
11
+ export class TransportError extends Error {
12
12
public readonly type = "TransportError" ;
13
13
14
14
constructor (
You can’t perform that action at this time.
0 commit comments