smartsocket/ts/smartsocket.pluginstyped.ts

21 lines
492 B
TypeScript
Raw Normal View History

2020-09-29 17:21:08 +00:00
// node native
import type http from 'http';
import type https from 'https';
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;
}