Skip to content

Commit

Permalink
Fix module exports for TypeScript for ES6 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdhjd authored Nov 26, 2023
1 parent 3180f2a commit bcc5497
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions aedes.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import Aedes, { AedesOptions } from './types/instance'
export * from './types/instance';

Check failure on line 1 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, ubuntu-latest)

Extra semicolon

Check failure on line 1 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, windows-latest)

Extra semicolon

Check failure on line 1 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, macOS-latest)

Extra semicolon

Check failure on line 1 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, ubuntu-latest)

Extra semicolon

Check failure on line 1 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, windows-latest)

Extra semicolon

Check failure on line 1 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, macOS-latest)

Extra semicolon

Check failure on line 1 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, ubuntu-latest)

Extra semicolon

Check failure on line 1 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, windows-latest)

Extra semicolon

Check failure on line 1 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, macOS-latest)

Extra semicolon
export * from './types/packet';

Check failure on line 2 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, ubuntu-latest)

Extra semicolon

Check failure on line 2 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, windows-latest)

Extra semicolon

Check failure on line 2 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, macOS-latest)

Extra semicolon

Check failure on line 2 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, ubuntu-latest)

Extra semicolon

Check failure on line 2 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, windows-latest)

Extra semicolon

Check failure on line 2 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, macOS-latest)

Extra semicolon

Check failure on line 2 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, ubuntu-latest)

Extra semicolon

Check failure on line 2 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, windows-latest)

Extra semicolon

Check failure on line 2 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, macOS-latest)

Extra semicolon
export * from './types/client';

Check failure on line 3 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, ubuntu-latest)

Extra semicolon

Check failure on line 3 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, windows-latest)

Extra semicolon

Check failure on line 3 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, macOS-latest)

Extra semicolon

Check failure on line 3 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, ubuntu-latest)

Extra semicolon

Check failure on line 3 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, windows-latest)

Extra semicolon

Check failure on line 3 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, macOS-latest)

Extra semicolon

Check failure on line 3 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, ubuntu-latest)

Extra semicolon

Check failure on line 3 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, windows-latest)

Extra semicolon

Check failure on line 3 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, macOS-latest)

Extra semicolon

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';

Check failure on line 5 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, ubuntu-latest)

Extra semicolon

Check failure on line 5 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, windows-latest)

Extra semicolon

Check failure on line 5 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (16, macOS-latest)

Extra semicolon

Check failure on line 5 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, ubuntu-latest)

Extra semicolon

Check failure on line 5 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, windows-latest)

Extra semicolon

Check failure on line 5 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (18, macOS-latest)

Extra semicolon

Check failure on line 5 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, ubuntu-latest)

Extra semicolon

Check failure on line 5 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, windows-latest)

Extra semicolon

Check failure on line 5 in aedes.d.ts

View workflow job for this annotation

GitHub Actions / test (20, macOS-latest)

Extra semicolon

0 comments on commit bcc5497

Please sign in to comment.