modularize playground (prep for persistent/modular file handling)
This commit is contained in:
9
playground/src/types.ts
Normal file
9
playground/src/types.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export interface CompileReq {
|
||||
src: string;
|
||||
}
|
||||
|
||||
export interface CompileRes {
|
||||
output: string
|
||||
javascript: string
|
||||
duration: number
|
||||
}
|
||||
Reference in New Issue
Block a user