Writing Robust TypeScript Libraries (JS says LOL to your types)

When writing a TypeScript library, it’s helpful to validate all the data passed into the library—at least in development—so that your library robustly handles the kinds of bad data it may receive from JavaScript and loose-mode TypeScript consumers. Read more

Similar