Benoit LemoineinDecathlon DigitalWhat’s the problem with TypeScript’s classes?Values, Types, and the counter-intuitive behavior of classes?Jan 17, 20213Jan 17, 20213
Benoit LemoineProving that two types are equal in TypeScriptAll examples were tested against TypeScript 2.8.3 with strictNullChecks and strictFunctionTypes turned on.May 28, 2018May 28, 2018
Benoit LemoineRefinement Types in TypeScript — Or how to check that a number must be positive at compile time.All the code in this article has been tested with typescript 2.7.2Apr 3, 2018Apr 3, 2018
Benoit LemoineWhy does TypeScript Sometimes Fails to Type Check Extra Properties?All the code of this article has been tested with typescript 2.6.1Jan 3, 20183Jan 3, 20183
Benoit LemoineFrom Enumeration to Algebraic Data Type in TypeScriptAll the code here was tested with TypeScript 2.2.2Apr 17, 20174Apr 17, 20174
Benoit LemoineType checked dynamic calls in TypeScriptAll the code present in this article was tested with TypeScript 2.2.1 and Lodash 4.6.1Mar 23, 2017Mar 23, 2017