Skip to content

Commit

Permalink
fix(types): added module declaration (#879)
Browse files Browse the repository at this point in the history
Co-authored-by: steven.frew <steven.frew@corporatemodelling.com>
  • Loading branch information
peeveen and steven.frew authored Jul 24, 2023
1 parent 5075e0a commit f6387a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions aedes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ export * from './types/instance'
export * from './types/packet'
export * from './types/client'
export default Aedes

declare module 'aedes' {
export = Aedes
}
1 change: 0 additions & 1 deletion test/types/aedes.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import { IncomingMessage } from 'node:http'
import { Socket } from 'node:net'
import type {
Expand Down

0 comments on commit f6387a8

Please sign in to comment.