2020-09-29 17:21:08 +00:00
|
|
|
// node native
|
2022-03-14 21:40:55 +00:00
|
|
|
import type * as http from 'http';
|
|
|
|
import type * as https from 'https';
|
2020-09-29 17:21:08 +00:00
|
|
|
|
2020-09-29 18:58:09 +00:00
|
|
|
export { http, https };
|
2020-09-29 17:21:08 +00:00
|
|
|
|
|
|
|
// pushrocks scope
|
|
|
|
import type * as smartexpress from '@pushrocks/smartexpress';
|
|
|
|
|
2020-09-29 18:58:09 +00:00
|
|
|
export { smartexpress };
|
2020-09-29 17:21:08 +00:00
|
|
|
|
|
|
|
// third party scope
|
|
|
|
import type socketIo from 'socket.io';
|
2022-01-19 17:36:13 +00:00
|
|
|
import type { Socket as ClientSocket, connect as ClientIo } from 'socket.io-client';
|
2020-09-29 17:21:08 +00:00
|
|
|
|
2022-01-19 17:36:13 +00:00
|
|
|
export { socketIo };
|
|
|
|
export namespace socketIoClient {
|
|
|
|
export type Socket = ClientSocket;
|
|
|
|
export type connect = typeof ClientIo;
|
|
|
|
}
|