1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | export declare class StructFailure {
|
7 | branch: Array<any>;
|
8 | path: Array<string | number>;
|
9 | type: string;
|
10 | value: any;
|
11 | [key: string]: any;
|
12 | constructor(props: {
|
13 | value: any;
|
14 | type: string;
|
15 | branch: Array<any>;
|
16 | path: Array<string | number>;
|
17 | [key: string]: any;
|
18 | });
|
19 | }
|
20 | /**
|
21 | * Wrap every child `StructFailure` in an iterable so that they refer to the
|
22 | * same failures but from the context of a parent value.
|
23 | */
|
24 | export declare function wrap(iterable: Iterable<StructFailure>, value: any, key: string | number): Iterable<StructFailure>;
|