judge: add type annotations (#300)

Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
Yang Gaoandundefined authored and GitHub committed 2022-02-03 00:14:11 +08:00
1 parent 04685ef864
commit b0f1c0d52c
19 files changed
+418 -71

No files matched your search

+2 -6
View File
@@ -1,12 +1,8 @@
export interface SFile {
src?: string,
content?: string,
fileId?: string,
}
import { CopyInFile } from './sandbox/interface';
export interface Execute {
execute: string,
clean: Function,
copyIn: Record<string, SFile>,
copyIn: Record<string, CopyInFile>,
time?: number,
}
export interface CompileErrorInfo {