Skip to content

Commit 3b1c4ea

Browse files
author
Jon Bernard
committed
cleanup and linting fixes
1 parent 1ab5e88 commit 3b1c4ea

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

ldk/node/examples/whisper-disambiguation/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"devDependencies": {
1313
"@types/jest": "26.0.13",
1414
"@types/node": "14.10.0",
15-
"@types/ramda": "^0.27.34",
1615
"@typescript-eslint/eslint-plugin": "4.1.0",
1716
"@typescript-eslint/parser": "4.1.0",
1817
"eslint": "7.8.1",
@@ -31,7 +30,6 @@
3130
},
3231
"dependencies": {
3332
"@oliveai/ldk": "file:../..",
34-
"moment": "^2.29.1",
35-
"ramda": "0.27.1"
33+
"moment": "^2.29.1"
3634
}
3735
}

ldk/node/examples/whisper-disambiguation/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { find, propEq } from 'ramda';
21
import moment from "moment";
32

43
import { HostServices, Logger, Loop, serveLoop } from '../../../dist';
@@ -10,7 +9,7 @@ import {
109

1110
import { decodeRecall, Recall, RecallJSON } from './transform'
1211

13-
const logger = new Logger('olive-helps-node-example-network');
12+
const logger = new Logger('olive-helps-node-example-whisper-disambiguation');
1413

1514
export interface RecallMap {
1615
[key: string]: Recall

ldk/node/examples/whisper-disambiguation/src/transform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface RecallJSON {
3939
}
4040

4141
/**
42-
* @param json
42+
* @param json - JSON object returned by the network sensor
4343
*/
4444
export function decodeRecall(json: RecallJSON): Recall {
4545
return {

0 commit comments

Comments
 (0)