Fix wrong types 2
This commit is contained in:
@ -180,7 +180,7 @@ export class LoggingBase {
|
||||
this.message(LoggingTypes.Error, message);
|
||||
}
|
||||
|
||||
protected getCurrentTime() {
|
||||
protected getCurrentTime(): any {
|
||||
if (browser && window.performance && window.performance.now) {
|
||||
return window.performance.now();
|
||||
} else {
|
||||
@ -200,7 +200,7 @@ export class LoggingBase {
|
||||
}
|
||||
}
|
||||
|
||||
time(id?: string, name = id): any {
|
||||
time(id?: string, name = id) {
|
||||
if (!id) {
|
||||
id = Math.floor(Math.random() * 899999 + 100000).toString();
|
||||
}
|
||||
|
Reference in New Issue
Block a user