Skip to content

Commit

Permalink
add another test
Browse files Browse the repository at this point in the history
  • Loading branch information
amitdahan committed Sep 1, 2024
1 parent 81c89e5 commit cc20e81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tests/map-constructor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ doNotExecute(() => {
type test = [Expect<Equal<typeof map, Map<string, boolean>>>];
});

doNotExecute(() => {
const map: Map<string, boolean> = new Map();
type test = [Expect<Equal<typeof map, Map<string, boolean>>>];
});

doNotExecute(() => {
const map = new Map([
["foo", 1],
Expand Down

0 comments on commit cc20e81

Please sign in to comment.