Skip to content

Commit

Permalink
Fixed an eslint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
doberkofler committed Apr 2, 2020
1 parent b04a53b commit 9e9221b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"simple-gantt-chart": "^0.0.3"
"simple-gantt-chart": "^0.0.5"
},
"devDependencies": {
"terser-webpack-plugin": "^2.3.5",
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any, jest/valid-title */
/* eslint-disable jest/valid-title */

import {isObject, isFunction, isNumber, isInteger, isBoolean, isDate} from '../types';

Expand Down Expand Up @@ -300,7 +300,7 @@ describe('types', () => {
if (!(property in test)) {
throw new Error(`Missing property "${property}" in test "${test.title}"`);
}
expect(func(test.value)).toStrictEqual((test as {[key: string]: any})[property]);
expect(func(test.value)).toStrictEqual((test as {[key: string]: unknown})[property]);
});
});
});
Expand Down

0 comments on commit 9e9221b

Please sign in to comment.