2018-08-23 10:52:48 -07:00
|
|
|
declare module 'superstruct' {
|
2019-05-31 07:42:41 -07:00
|
|
|
declare type StructFunc = {
|
|
|
|
(any): any,
|
|
|
|
union(schema: any): any;
|
2019-12-19 17:18:36 +00:00
|
|
|
array(schema: any): any;
|
2019-05-31 07:42:41 -07:00
|
|
|
literal(schema: any): any;
|
2019-11-12 11:21:19 -05:00
|
|
|
tuple(schema: any): any;
|
2019-05-31 07:42:41 -07:00
|
|
|
};
|
|
|
|
|
2018-08-23 10:52:48 -07:00
|
|
|
declare module.exports: {
|
2019-05-31 07:42:41 -07:00
|
|
|
struct: StructFunc;
|
2018-08-23 10:52:48 -07:00
|
|
|
}
|
|
|
|
}
|