From bba73ee5c95dea532cc28fee8e5f18a0553e015d Mon Sep 17 00:00:00 2001 From: Max <m.giller@tu-braunschweig.de> Date: Tue, 10 May 2022 06:58:22 +0200 Subject: [PATCH] Formatted code --- src/editor/js/structures/graph/graphelement.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/editor/js/structures/graph/graphelement.ts b/src/editor/js/structures/graph/graphelement.ts index c436396..3fd277e 100644 --- a/src/editor/js/structures/graph/graphelement.ts +++ b/src/editor/js/structures/graph/graphelement.ts @@ -1,5 +1,5 @@ -import {Graph} from "./graph"; -import {SerializableItem} from "../helper/serializableitem"; +import { Graph } from "./graph"; +import { SerializableItem } from "../helper/serializableitem"; export class GraphElement extends SerializableItem { protected isNode: boolean; @@ -27,7 +27,7 @@ export class GraphElement extends SerializableItem { * @returns True, if successful. */ public delete(): boolean { - throw new Error("Function \"delete()\" has not been implemented."); + throw new Error('Function "delete()" has not been implemented.'); } /** @@ -36,7 +36,7 @@ export class GraphElement extends SerializableItem { * @returns True, if successful. */ public add(graph: Graph = this.graph): boolean { - throw new Error("Function \"add(graph)\" has not been implemented."); + throw new Error('Function "add(graph)" has not been implemented.'); } /** @@ -44,6 +44,8 @@ export class GraphElement extends SerializableItem { * @returns Filtered object. */ public getCleanInstance(): any { - throw new Error("Function \"getCleanInstance()\" has not been implemented."); + throw new Error( + 'Function "getCleanInstance()" has not been implemented.' + ); } -} \ No newline at end of file +} -- GitLab