mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&framework: pass type checks on cordis 4.0.0-alpha.1
This commit is contained in:
1 parent
2c8c03153e
commit
bd63331137
13 files changed
+100
-64
No files matched your search
@@ -2,6 +2,7 @@ import path from 'path';
|
||||
import {
|
||||
ContestModel, Context, fs, Handler, ObjectId, PERM, Schema, STATUS, Types, UserModel,
|
||||
} from 'hydrooj';
|
||||
import type { } from 'hydrooj/src/handler/contest';
|
||||
|
||||
const file = fs.readFileSync(path.join(__dirname, 'public/assets/board.html'), 'utf8');
|
||||
const indexJs = file.match(/index-([A-Za-z0-9_-]+)\.js"/)?.[1];
|
||||
|
||||
Reference in new issue
Block a user