1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

Lunr search bug (#251)

* changed hrtime library

* changed import style
This commit is contained in:
Addison Beck
2021-01-25 15:03:28 -05:00
committed by GitHub
parent e1f1d7e702
commit 9ddec9baf8
3 changed files with 6 additions and 7 deletions

View File

@@ -2,8 +2,7 @@ import { LogLevelType } from '../enums/logLevelType';
import { LogService as LogServiceAbstraction } from '../abstractions/log.service';
// @ts-ignore: import * as ns from "mod" error, need to do it this way
import hrtime = require('browser-process-hrtime');
import * as hrtime from 'browser-hrtime';
export class ConsoleLogService implements LogServiceAbstraction {
protected timersMap: Map<string, [number, number]> = new Map();