diff --git a/frontend/src/types.ts b/frontend/src/types.ts index bc8acaf..a3a9c55 100644 --- a/frontend/src/types.ts +++ b/frontend/src/types.ts @@ -17,3 +17,10 @@ export enum AppState { CODE_READY = "CODE_READY", INSTRUCTION_GENERATING = "INSTRUCTION_GENERATING", } + +export interface Instruction { + element: string; + mistake: string; + improvement: string; + location: string; +}