Skip to content

Commit

Permalink
Upgrade to TypeScript 4.7 (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 authored Jun 13, 2022
1 parent 106af14 commit ddd1c4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion source/test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ test('loose types', async t => {
[20, 0, 'error', 'Parameter type `Observable<string | number> | Observable<string | number | boolean>` is declared too wide for argument type `Observable<string | number> | Observable<string>`.'],
[28, 0, 'error', 'Parameter type `Foo<string | Foo<string | number>> | Foo<Date> | Foo<Symbol>` is declared too wide for argument type `Foo<Date> | Foo<Symbol> | Foo<string | Foo<number>>`.'],
[32, 0, 'error', 'Parameter type `string | number` is not identical to argument type `any`.'],
[34, 0, 'error', 'Parameter type `Observable<string | number> | Observable<any> | Observable<string | number | boolean>` is not identical to argument type `Observable<string | number> | Observable<string> | Observable<string | number | boolean>`.']
[34, 0, 'error', 'Parameter type `Observable<any> | Observable<string | number> | Observable<string | number | boolean>` is not identical to argument type `Observable<string | number> | Observable<string> | Observable<string | number | boolean>`.']
]);
});

Expand Down

0 comments on commit ddd1c4d

Please sign in to comment.