From ed35aa17f28f65c443bd26e0038bc4314b0ed8b4 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Mon, 6 Apr 2020 11:50:47 +0200 Subject: [PATCH] Add missing any annotation --- package.json | 2 +- src/base.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 906e252..2583215 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/logging", - "version": "2.2.0", + "version": "2.2.1", "description": "", "main": "out/index.js", "types": "out/index.d.ts", diff --git a/src/base.ts b/src/base.ts index d5c77a2..cd7d897 100644 --- a/src/base.ts +++ b/src/base.ts @@ -200,7 +200,7 @@ export class LoggingBase { } } - time(id?: string, name = id) { + time(id?: string, name = id): any { if (!id) { id = Math.floor(Math.random() * 899999 + 100000).toString(); }