Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
Lunr search bug (#251)
Browse files Browse the repository at this point in the history
* changed hrtime library

* changed import style
  • Loading branch information
Addison Beck committed Jan 25, 2021
1 parent e1f1d7e commit 9ddec9b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -77,7 +77,7 @@
"@microsoft/signalr-protocol-msgpack": "3.1.0",
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
"big-integer": "1.6.36",
"browser-process-hrtime": "1.0.0",
"browser-hrtime": "^1.1.8",
"chalk": "2.4.1",
"commander": "2.18.0",
"core-js": "2.6.2",
Expand Down
3 changes: 1 addition & 2 deletions src/services/consoleLog.service.ts
Expand Up @@ -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();
Expand Down

0 comments on commit 9ddec9b

Please sign in to comment.