mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: add type annotations (#300)
Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
1 parent
04685ef864
commit
b0f1c0d52c
19 files changed
+418
-71
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user