Skip to content

Instantly share code, notes, and snippets.

@jeserkin
Created July 9, 2018 09:04
Show Gist options
  • Select an option

  • Save jeserkin/48a1ddcc5253bc63343ce232780c18af to your computer and use it in GitHub Desktop.

Select an option

Save jeserkin/48a1ddcc5253bc63343ce232780c18af to your computer and use it in GitHub Desktop.
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