Improve type definitions
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
* このエンドポイントにリクエストするのにユーザー情報が必須か否か
|
||||
|
Reference in New Issue
Block a user