Tag: ts
All the articles with the tag "ts".
Tech Watch Posts
Understanding TypeScript Object.entries Type Safety with Generic Types
Published: at 03:59 PMLearn how to maintain type safety when using Object.entries in TypeScript by creating custom generic types that preserve key-value type relationships in your objects.
Understanding TypeScript Type Inference with Column Formatters
Published: at 03:58 PMLearn how to implement type-safe column formatters in TypeScript using advanced type inference, from basic approaches to an elegant mapped type solution for data table components.
React "as" Prop Using TypeScript
Published: at 02:08 PMLearn how to type the "as" prop in React to dynamically change the rendered HTML tag.
Essential Typescript for React
Published: at 02:33 PMThe minimum set of typescript knowledge to be effective at product development with React
The TSConfig Cheat Sheet
Published: at 03:29 PMThe TSConfig Cheat Sheet is a comprehensive guide to configuring TypeScript. It covers the base options, strictness, transpiling with TypeScript, building for a library, and building for a library in a monorepo. Some of the important points from this article are that es2022 is the best option for stability, and that you should use strict mode.