fix types.

This commit is contained in:
2023-01-11 18:53:30 +08:00
parent 77378f80a0
commit e04b429fc5
13 changed files with 56 additions and 31 deletions

View File

@@ -52,6 +52,11 @@ export interface Problem {
my_status: number
}
export interface Code {
language: LANGUAGE
value: string
}
export interface SubmitCodePayload {
problem_id: number
language: LANGUAGE