Tidy TypeScript: Prefer union types over enums
Argues against using TypeScript enums, advocating for union types due to code emission and type safety issues.
Argues against using TypeScript enums, advocating for union types due to code emission and type safety issues.
Learn how to use the VSCode debugger with AWS CDK to debug infrastructure code and inspect variables without console.log statements.
Learn to build an AWS CDK stack that sends email notifications via SNS when files are uploaded to an S3 bucket.
Tutorial on building a GraphQL server using Apollo Server and AWS CDK with TypeScript, including Lambda and API Gateway setup.
A developer's notes from a TypeScript course, covering setup with Parcel, React integration, and TypeScript compiler basics.
The author announces their new book 'TypeScript in 50 Lessons', a 450-page guide focused on the TypeScript type system.
Explains TypeScript's const assertions, their syntax, differences from type assertions, and benefits for type inference and immutability.
Exploring TypeScript 4.1's pedantic index signature checks and creating a SafeRecord type to fix unsafe object access.
Guide on calling JavaScript functions from TypeScript, covering configuration, type inference issues, and solutions like declaration files.
Notes from a course on building custom CLI tools using oclif and TypeScript, covering debugging, prompts, and scaffolding.
An explanation of the 'this' keyword in JavaScript and TypeScript, covering its behavior in functions, event listeners, and binding methods.
A guide to using TypeScript with native ECMAScript modules, covering configuration and importing from CDNs.
Explains how to implement exhaustive pattern matching in TypeScript for type-safe code, preventing unhandled cases when adding new features.
Learn how to use AWS CDK to automate S3 lifecycle policies for cost-effective storage management in a practical tutorial.
A developer explains their reasons for avoiding the React.FC type in TypeScript+React projects, citing issues with function typing and implicit children.
A guide to common React component patterns using TypeScript, focusing on function components, props, and type definitions.
Explains how to add TypeScript types for new DOM APIs like ResizeObserver by augmenting global and lib.dom.d.ts.
A guide to setting up a Vite project with Preact and TypeScript, including configuration steps and setup tips.
A technical guide on converting union types to intersection types in TypeScript using conditional types and function type inference.
A tutorial on using the Oak framework to build backend web applications in Deno, including setup and basic middleware.