From ddd1c4d74779344062ca1420c44e984f26744006 Mon Sep 17 00:00:00 2001 From: Julian Grinblat Date: Mon, 13 Jun 2022 15:39:48 +0900 Subject: [PATCH] Upgrade to TypeScript 4.7 (#148) --- package.json | 2 +- source/test/test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 80bd2d41..022add3a 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "typedefinitions" ], "dependencies": { - "@tsd/typescript": "~4.6.3", + "@tsd/typescript": "~4.7.3", "eslint-formatter-pretty": "^4.1.0", "globby": "^11.0.1", "meow": "^9.0.0", diff --git a/source/test/test.ts b/source/test/test.ts index 9746c30a..e84275f0 100644 --- a/source/test/test.ts +++ b/source/test/test.ts @@ -316,7 +316,7 @@ test('loose types', async t => { [20, 0, 'error', 'Parameter type `Observable | Observable` is declared too wide for argument type `Observable | Observable`.'], [28, 0, 'error', 'Parameter type `Foo> | Foo | Foo` is declared too wide for argument type `Foo | Foo | Foo>`.'], [32, 0, 'error', 'Parameter type `string | number` is not identical to argument type `any`.'], - [34, 0, 'error', 'Parameter type `Observable | Observable | Observable` is not identical to argument type `Observable | Observable | Observable`.'] + [34, 0, 'error', 'Parameter type `Observable | Observable | Observable` is not identical to argument type `Observable | Observable | Observable`.'] ]); });