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;
|
|
|
|
list(schema: any): any;
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|