javascript

More secure TypeScript code - easily

How to secure JS object returned by API as a correct Typescript type? TS type predicate function helps here. (and it’s not the only way)
Read more

Less bugs in JavaScript using computed properties.

What is computed property? Computed property is feature introduced in ES6. The syntax allows to initialize object using variable’s value as a property name in newly created object. Instead of
Read more