Skip to content

Commit

Permalink
fix: remove generic from Message type
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleRoss committed Dec 10, 2021
1 parent 4491110 commit cc10311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import LogMessage from './LogMessage.js';
import stringify from 'fast-safe-stringify';

export type GenericRecord<K extends string | number = string | number, V = unknown> = Record<K, V>;
export type Message<T = string | number | Error> = T;
export type Message = string | number | Error;
export type Empty = false | null | undefined;

type TagFnObject = {
Expand Down

0 comments on commit cc10311

Please sign in to comment.