Comment Comment by skn0tt When it comes to API responses you don't control, I recommend taking a look at user-defined type guards: https://basarat.gitbooks.io/typescript/content/docs/types/ty...Also, +1 on tslint and prettier, they're great tools. parent skn0tt 7 years ago
Also, +1 on tslint and prettier, they're great tools.