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.
ExceptionDTO
Jsonifiable
1 parent c2eb4ad commit e35b81fCopy full SHA for e35b81f
src/dtos/exception.ts
@@ -6,7 +6,7 @@
6
import type * as aggregate from '@flex-development/aggregate-error-ponyfill'
7
import type {
8
JsonValue,
9
- JsonifiableArray,
+ Jsonifiable,
10
JsonifiableObject,
11
Nilable,
12
Nullable,
@@ -29,12 +29,7 @@ interface ExceptionDTO<
29
Cause extends ObjectPlain = JsonifiableObject,
30
Code extends Nullable<number | string> = string
31
> extends aggregate.Options<Cause> {
32
- [key: string]:
33
- | JsonifiableArray
34
- | JsonifiableObject
35
- | JsonValue
36
- | ObjectUnknown
37
- | undefined
+ [key: string]: Jsonifiable | JsonValue | ObjectUnknown | undefined
38
39
/**
40
* Exception code.
0 commit comments