From 4faffe1f791e177435a135a71db4c355c175ef46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Bokros?= Date: Fri, 16 Feb 2018 17:32:29 +0100 Subject: [PATCH] Make SourceCode interface represent reality --- src/app/webide/source-code.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/app/webide/source-code.ts b/src/app/webide/source-code.ts index e0610ef..2b49091 100644 --- a/src/app/webide/source-code.ts +++ b/src/app/webide/source-code.ts @@ -1,8 +1,6 @@ -export class SourceCode { - filename: string; - content: string; - language: string; - files: string[]; - saved: boolean; +export interface SourceCode { + filename?: string; + content?: string; + files?: string[]; command: string; }