Skip to content

Commit 8dbb8e7

Browse files
author
Andy Hanson
committed
Add comment
1 parent 8121de7 commit 8dbb8e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace ts {
1111
/** It's allowed to get/set into a map with numbers. However, when iterating, you may get strings back due to the shim being an ordinary object (which only allows string keys). */
1212
export type MapKey = string | number;
1313

14-
/** Minimal ES6 Map interface. */
14+
/** Minimal ES6 Map interface. Does not include iterators as those are hard to shim performantly. */
1515
export interface Map<T> {
1616
get(key: MapKey): T;
1717
has(key: MapKey): boolean;

0 commit comments

Comments
 (0)