We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc00af2 commit 0801343Copy full SHA for 0801343
src/types/serialize.ts
@@ -33,7 +33,7 @@ export type Serialize<T> =
33
* JSON.stringify returns always `{}` for a `Promise`
34
*/
35
T extends Promise<unknown>
36
- ? '{}'
+ ? EmptyObject
37
: /**
38
* Map
39
0 commit comments