We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 194eac2 commit 7fe59aeCopy full SHA for 7fe59ae
1 file changed
src/llhttp/constants.ts
@@ -1,11 +1,9 @@
1
export type IntDict = Readonly<Record<string, number>>;
2
3
// 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
- } & {};
+type Simplify<T> = T extends any[] | Date ? T : {
+ [K in keyof T]: T[K];
+} & {};
9
10
export const ERROR = {
11
OK: 0,
0 commit comments