Skip to content

Commit

Permalink
Merge pull request #1835 from immutable-js/fix-1706
Browse files Browse the repository at this point in the history
ensure #1706 is fixed
  • Loading branch information
jdeniau committed Jun 29, 2021
2 parents 4971edd + 1356f56 commit 39a2744
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
@@ -1,3 +1,5 @@
dist
pages/generated
pages/out
type-definitions/ts-tests/
type-definitions/flow-tests/
3 changes: 3 additions & 0 deletions type-definitions/ts-tests/map.ts
Expand Up @@ -12,6 +12,9 @@ import { Map, List } from '../../';
// $ExpectType Map<number, string>
Map([[1, 'a']]);

// $ExpectType Map<string, string>
Map([['a', 'a']]);

// $ExpectType Map<number, string>
Map(
List<[number, string]>([[1, 'a']])
Expand Down

0 comments on commit 39a2744

Please sign in to comment.