Skip to content

Commit

Permalink
fix: consumer TypeScript error with skipLibCheck: false (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph authored Apr 2, 2024
1 parent a19df84 commit 6b5f189
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
"trace-event-lib": "^1.3.1"
},
"peerDependencies": {
"bunyan": "^1.8.15 || ^2.0.0",
"@types/bunyan": "^1.8.8"
"@types/bunyan": "^1.8.8",
"bunyan": "^1.8.15 || ^2.0.0"
},
"peerDependenciesMeta": {
"bunyan": {
Expand Down
3 changes: 2 additions & 1 deletion src/wrapLogger.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { BunyaminConfig, BunyanLikeLogger } from './decorator';
import { Bunyamin } from './decorator';

export type * from './decorator';
export * from './decorator/types';
export type { Bunyamin } from './decorator';

export function wrapLogger<Logger extends BunyanLikeLogger>(
options: BunyaminConfig<Logger>,
Expand Down

0 comments on commit 6b5f189

Please sign in to comment.