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(); }