Skip to content

Commit

Permalink
chore: remove unused exports
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Oct 30, 2023
1 parent 1cc4449 commit e8dcb36
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type AsyncLocalStorage } from 'node:async_hooks';

export type JsonValue =
type JsonValue =
| JsonObject
| JsonValue[]
| boolean
Expand All @@ -10,7 +10,7 @@ export type JsonValue =
| null
| undefined;

export type JsonObject = {
type JsonObject = {
[k: string]: JsonValue;
};

Expand All @@ -23,7 +23,7 @@ export type TopLevelAsyncLocalContext = {
transforms: ReadonlyArray<TransformMessageFunction<MessageContext>>;
};

export type NestedAsyncLocalContext = TopLevelAsyncLocalContext & {
type NestedAsyncLocalContext = TopLevelAsyncLocalContext & {
sequence: number;
sequenceRoot: string;
};
Expand All @@ -43,7 +43,7 @@ export type RoarrGlobalState = {
write: LogWriter;
};

export type SprintfArgument = boolean | number | string | null;
type SprintfArgument = boolean | number | string | null;

export type Message<T = MessageContext> = {
readonly context: T;
Expand All @@ -57,7 +57,7 @@ export type TransformMessageFunction<T> = (
message: Message<T>,
) => Message<MessageContext>;

export type LogMethod<Z> = {
type LogMethod<Z> = {
<T extends string = string>(
context: Z,
message: T,
Expand Down

0 comments on commit e8dcb36

Please sign in to comment.