Created
July 9, 2018 09:04
-
-
Save jeserkin/48a1ddcc5253bc63343ce232780c18af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface ThingIndex { | |
| specialId: number; | |
| } | |
| interface ThingValue { | |
| value: string; | |
| } | |
| const mapOfThings: Map<ThingIndex, ThingValue> = new Map(); | |
| return Array.from(mapOfThings.entries()) | |
| .map(thing => { | |
| // | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment