Benoit LemoineinDecathlon DigitalWhat’s the problem with TypeScript’s classes?Values, Types, and the counter-intuitive behavior of classes?3 min read·Jan 17, 2021--3--3
Benoit LemoineProving that two types are equal in TypeScriptAll examples were tested against TypeScript 2.8.3 with strictNullChecks and strictFunctionTypes turned on.3 min read·May 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.23 min read·Apr 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.14 min read·Jan 3, 2018--3--3
Benoit LemoineFrom Enumeration to Algebraic Data Type in TypeScriptAll the code here was tested with TypeScript 2.2.23 min read·Apr 17, 2017--4--4
Benoit LemoineType checked dynamic calls in TypeScriptAll the code present in this article was tested with TypeScript 2.2.1 and Lodash 4.6.13 min read·Mar 23, 2017----