Skip to content

Commit

Permalink
fix: updating typesript types.
Browse files Browse the repository at this point in the history
  • Loading branch information
mateodelnorte committed Sep 13, 2022
1 parent 0e14191 commit ed44ec1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
declare type LlogFunction = (merginObject?: string | Error | unknown, formatMessage?: string, ...interpolationArg: unknown[]) => void;
declare module "llog" {
declare type LlogFunction = (merginObject?: string | Error | unknown, formatMessage?: string, ...interpolationArg: unknown[]) => void;

declare interface logger {
trace: LlogFunction,
debug: LlogFunction,
info: LlogFunction,
warn: LlogFunction,
error: LlogFunction,
fatal: LlogFunction,
}
declare interface logger {
trace: LlogFunction,
debug: LlogFunction,
info: LlogFunction,
warn: LlogFunction,
error: LlogFunction,
fatal: LlogFunction,
}

declare module "llog" {
export default logger;
}

0 comments on commit ed44ec1

Please sign in to comment.