diff --git a/aedes.d.ts b/aedes.d.ts index 3735efdf..f528be18 100644 --- a/aedes.d.ts +++ b/aedes.d.ts @@ -1,12 +1,5 @@ -import Aedes, { AedesOptions } from './types/instance' +export * from './types/instance'; +export * from './types/packet'; +export * from './types/client'; -export declare function createBroker (options?: AedesOptions): Aedes - -export * from './types/instance' -export * from './types/packet' -export * from './types/client' -export default Aedes - -declare module 'aedes' { - export = Aedes -} +export { default } from './types/instance';