Timeline for TypeScript Generics: Create a generic map
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 23, 2017 at 23:33 | comment | added | Gerrit0 |
(As I realized this wouldn't point out the possible error in this code, this.items[key]; can be undefined and should be typed as such)
|
|
Oct 23, 2017 at 23:27 | comment | added | Gerrit0 |
One more thing to mention, enabling strictNullChecks is always a good idea.
|
|
Oct 23, 2017 at 13:56 | vote | accept | michael.zech | ||
Oct 23, 2017 at 6:07 | history | answered | Igor Soloydenko | CC BY-SA 3.0 |