Skip to content

Commit

Permalink
Attempt number 2
Browse files Browse the repository at this point in the history
  • Loading branch information
FinlayDaG33k committed Sep 18, 2024
1 parent 86d40cc commit eff6242
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ export class Logger {
* @param level {LogLevels}
* @param handler {any}
*/
public static setHandler(level: LogLevels, handler: Function): void {
public static setHandler(level: LogLevels, handler: typeof Handlers): void {
// @ts-ignore TODO: Figure out how to replace Function with something more sane
// deno-lint-ignore ban-types -- TODO
Logger._handlers[level] = handler;
}

Expand Down

0 comments on commit eff6242

Please sign in to comment.