This commit is contained in:
syuilo
2017-03-03 08:24:48 +09:00
parent 67f9c158d7
commit 2a9cba25a8
9 changed files with 77 additions and 126 deletions

View File

@@ -424,7 +424,7 @@ class IdQuery extends QueryCore {
/**
* このインスタンスの値およびエラーを取得します
*/
qed(): [any[], Error] {
qed(): [mongo.ObjectID, Error] {
return super.qed();
}
@@ -433,7 +433,7 @@ class IdQuery extends QueryCore {
* バリデータが false またはエラーを返した場合エラーにします
* @param validator バリデータ
*/
validate(validator: Validator<any[]>) {
validate(validator: Validator<mongo.ObjectID>) {
return super.validate(validator);
}
}