From 17ae81f04074ad5b2fdbb21f221e33e69b425e53 Mon Sep 17 00:00:00 2001 From: jsteuer <jan.steuer.htw@gmail.com> Date: Wed, 05 Feb 2020 11:36:17 +0100 Subject: [PATCH] better docs, ide-tool-utils as ts, es6 and es5 --- src/Helpers.ts | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Helpers.ts b/src/Helpers.ts index 83fc07f..91d00a4 100644 --- a/src/Helpers.ts +++ b/src/Helpers.ts @@ -1,6 +1,5 @@ -/// <reference path="../mathcoach-api.d.ts"/> - - +import { MathCoach } from "./MathCoach"; + /** * Hilfsfunktionen für Werkzeug-Entwickler. Diese werden nicht durch die `ide-lib.js` * ausgeliefert! @@ -191,7 +190,7 @@ const value = this.items.get(key); return value ? value : null; } - key(index: number): string | null { + key(_index: number): string | null { throw new Error("InMemoryStorage: key function is not implemented now"); } removeItem(key: string): void { -- Gitblit v1.10.0-SNAPSHOT