Common TypeScript Types
TypeScript is JavaScript with syntax for types. Here are some common types and how we could use them: // number function add(a: number, b: number): number { return a + b } // string and boolean function isStrLengthGreaterThan(str: string, len: num...
Mar 14, 20231 min read15

