Improve type definitions

This commit is contained in:
syuilo 2019-02-24 09:45:27 +09:00
parent 76edcdbe45
commit b679163d01
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
7 changed files with 110 additions and 73 deletions

View file

@ -1,6 +1,7 @@
import { Context } from 'cafy';
import * as path from 'path';
import * as glob from 'glob';
import { Schema } from '../../prelude/schema';
export type Param = {
validator: Context<any>;
@ -29,7 +30,7 @@ export interface IEndpointMeta {
};
};
res?: any;
res?: Schema;
/**
*