Mason
Member since May 22, 2017
- Profile: /members/13519-mason.htm
- Comments: 1
Recent Blog Comments By Mason
-
Inverse Type Guards Work In TypeScript
Posted on May 22, 2017 at 5:52 PM
>> "That's pretty cool that TypeScript understands how to translate lodash's "is" functions into Type Guards." It's called a User Defined Type-Guard in the doc ( https://www.typescriptlang.org/docs/handbook/advanced-types.html ). It looks like this. Note the return type i... read more »