mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix build
This commit is contained in:
1 parent
625478ac3a
commit
3f5d456d32
1 file changed
+1
-1
@@ -115,7 +115,7 @@ export class ProblemModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inc(domainId: string, _id: number, field: NumberKeys<ProblemDoc> | string, n: number): Promise<ProblemDoc> {
|
static inc(domainId: string, _id: number, field: NumberKeys<ProblemDoc> | string, n: number): Promise<ProblemDoc> {
|
||||||
return document.inc(domainId, document.TYPE_PROBLEM, _id, field, n);
|
return document.inc(domainId, document.TYPE_PROBLEM, _id, field as any, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
static count(domainId: string, query: FilterQuery<ProblemDoc>) {
|
static count(domainId: string, query: FilterQuery<ProblemDoc>) {
|
||||||
|
|||||||
Reference in new issue
Block a user