diff --git a/examples/typescript/package.json b/examples/typescript/package.json index 1b29767..c626770 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -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", diff --git a/src/__tests__/types.ts b/src/__tests__/types.ts index ad22613..00f1e13 100644 --- a/src/__tests__/types.ts +++ b/src/__tests__/types.ts @@ -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'; @@ -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]); }); }); });