diff --git a/package-lock.json b/package-lock.json index 037783e3fc..4d4cbfe488 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19923,9 +19923,9 @@ } }, "typescript": { - "version": "3.7.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", - "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==", + "version": "3.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.2.tgz", + "integrity": "sha512-q2ktq4n/uLuNNShyayit+DTobV2ApPEo/6so68JaD5ojvc/6GClBipedB9zNWYxRSAlZXAe405Rlijzl6qDiSw==", "dev": true }, "ua-parser-js": { diff --git a/package.json b/package.json index 8548a34176..fa4d29d76b 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "react-test-renderer": "^16.13.1", "rimraf": "^3.0.0", "timekeeper": "^2.2.0", - "typescript": "^3.7.5", + "typescript": "^3.9.2", "uglify-js": "^3.4.9" }, "scripts": { diff --git a/packages/core/test/config.test.ts b/packages/core/test/config.test.ts index 9b09b0d3da..75f40f32fb 100644 --- a/packages/core/test/config.test.ts +++ b/packages/core/test/config.test.ts @@ -6,6 +6,7 @@ describe('@bugsnag/core/config', () => { Object.keys(config.schema).forEach(k => { const key = k as unknown as keyof typeof config.schema config.schema[key].defaultValue(undefined) + // @ts-expect-error config.schema[key].validate() config.schema[key].validate(-1) config.schema[key].validate('stringy stringerson')