Refactoring
This commit is contained in:
14
src/index.ts
14
src/index.ts
@@ -1,11 +1,13 @@
|
||||
import { Packet } from "./packet";
|
||||
import {
|
||||
RouteType,
|
||||
PayloadType,
|
||||
} from "./types";
|
||||
export * as types from './packet.types';
|
||||
export * from './parser';
|
||||
export * from './identity';
|
||||
export { Packet } from './packet';
|
||||
|
||||
import { Packet as _Packet } from './packet';
|
||||
import { RouteType, PayloadType } from './packet.types';
|
||||
|
||||
export default {
|
||||
Packet,
|
||||
Packet: _Packet,
|
||||
RouteType,
|
||||
PayloadType,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user