Non-nullable types, yes! ?
Also lets you manage third-party type definitions via npm instead of yet another package manager. For example: npm install @types/lodash
npm install @types/lodash
I’ve been playing with this for a few weeks, and I’m starting to really like it. (The atom plugin is a mess, but that can be fixed.) It really shines when writing libraries, because it makes your API a lot more self-documenting.
Non-nullable types, yes! ?
Also lets you manage third-party type definitions via npm instead of yet another package manager. For example:
npm install @types/lodashI’ve been playing with this for a few weeks, and I’m starting to really like it. (The atom plugin is a mess, but that can be fixed.) It really shines when writing libraries, because it makes your API a lot more self-documenting.