Why We Rewrote Our JavaScript SDK in TypeScript

Marín Alcaraz & Ray Sohn

November 24, 2020

TypeScript forced us to document all of our assortment of feature flags and switches. We have a lot of flags for various features, and by using interfaces we can no longer have mysterious undocumented flags. All flags must be in the interface or else the compiler will warn us. This keeps developers honest. At Wootric we've been fans of Typescript for some time. Anders Hejlsberg, the lead[…]