File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2169,3 +2169,5 @@ class ConnectionManager extends EventEmitter {
2169
2169
}
2170
2170
2171
2171
export default ConnectionManager ;
2172
+
2173
+ export type TransportInitialiser = ( connectionManager : typeof ConnectionManager ) => typeof Transport ;
Original file line number Diff line number Diff line change 1
1
import { IPlatformConfig } from './types/IPlatformConfig' ;
2
2
import { IHttp } from './types/http' ;
3
- import ConnectionManager from './lib/transport/connectionmanager' ;
3
+ import { TransportInitialiser } from './lib/transport/connectionmanager' ;
4
4
import IDefaults from './types/IDefaults' ;
5
5
import IWebStorage from './types/IWebStorage' ;
6
6
import IBufferUtils from './types/IBufferUtils' ;
7
- import Transport from './lib/transport/transport' ;
8
7
import * as WebBufferUtils from '../platform/web/lib/util/bufferutils' ;
9
8
import * as NodeBufferUtils from '../platform/nodejs/lib/util/bufferutils' ;
10
9
import { IUntypedCryptoStatic } from '../common/types/ICryptoStatic' ;
@@ -30,7 +29,7 @@ export default class Platform {
30
29
*/
31
30
static Crypto : IUntypedCryptoStatic | null ;
32
31
static Http : typeof IHttp ;
33
- static Transports : Array < ( connectionManager : typeof ConnectionManager ) => typeof Transport > ;
32
+ static Transports : TransportInitialiser [ ] ;
34
33
static Defaults : IDefaults ;
35
34
static WebStorage : IWebStorage | null ;
36
35
}
You can’t perform that action at this time.
0 commit comments