Skip to content

Commit 7fe59ae

Browse files
committed
fix: linting
1 parent 194eac2 commit 7fe59ae

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/llhttp/constants.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
export type IntDict = Readonly<Record<string, number>>;
22

33
// eslint-disable-next-line @typescript-eslint/no-explicit-any
4-
type Simplify<T> = T extends any[] | Date
5-
? T
6-
: {
7-
[K in keyof T]: T[K];
8-
} & {};
4+
type Simplify<T> = T extends any[] | Date ? T : {
5+
[K in keyof T]: T[K];
6+
} & {};
97

108
export const ERROR = {
119
OK: 0,

0 commit comments

Comments
 (0)