Skip to content

Commit

Permalink
reset "expect-error" on original lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Jan 26, 2024
1 parent ac7e48c commit bc070e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion type-definitions/ts-tests/map.ts
Expand Up @@ -516,9 +516,9 @@ import { Map, List, MapOf } from 'immutable';
{ a: 1 }
);

// $ExpectError
Map<string, number>().mergeWith(
(prev: number, next: number, key: string) => 1,
// $ExpectError
{ a: 'a' }
);

Expand Down
2 changes: 1 addition & 1 deletion type-definitions/ts-tests/ordered-map.ts
Expand Up @@ -387,9 +387,9 @@ import { OrderedMap, List } from 'immutable';
{ a: 1 }
);

// $ExpectError
OrderedMap<string, number>().mergeWith(
(prev: number, next: number, key: string) => 1,
// $ExpectError
{ a: 'a' }
);

Expand Down

0 comments on commit bc070e2

Please sign in to comment.