I would like to store some information in a TypeScript (JavaScript) map under a key which reflects the type of a class. This is because the stored data is actually static and applies per type, not per instance.
Here's how I have declared the Map atm:
private static followSetsByATN: Map<number, FollowSetsPerState> = new Map();
However, number
should be a class type instead. How can this be achieved?