All Things Typescript Newsletter - Issue #12
Good morning, I hope you had a great weekend. This weekend I attended Google I/O Extended Nairobi, where I gave a talk on Angular Without Modules (a new feature for the recently released Angular 14) and enjoyed meeting the amazing dev community from Kenya.
I am also starting out another newsletter focussing on developer tooling and productivity, which is an area I want to focus on in the future by working and helping developers become better and more productive. The newsletter is called The Pragmatic DevX and you can subscribe to the newsletter here for my new weekly newsletter.
On top of that, Angular 14 was released with support for Standalone Components and Strictly Typed Forms, you can learn more about the announcement in the announcement section below.
Have a great week ahead and stay positive, thank you.
Featured Projects
GitHub - mainawycliffe/angular-without-modules-google-io-extended-2022-demo
This is a demo for Angular 14s, Standalone Components. This is a todo app, built with only standalone components, no modules and it’s for my talk on June 14 at Google IO Extended in Nairobi.
GitHub - mobily/ts-belt: 🔧 Fast, modern, and practical utility library for FP in TypeScript.
🔧 Fast, modern, and practical utility library for FP in TypeScript. - GitHub - mobily/ts-belt: 🔧 Fast, modern, and practical utility library for FP in TypeScript.
Announcements
Angular v14 is now available!
We are excited to announce the release of Angular v14! From typed forms and standalone components to new primitives in the Angular CDK (component dev kit), we’re excited to share how each feature makes Angular more powerful.
Articles
What Type of Safety Can You Get with TypeScript on Web Rush #183
Maarten Tibau talks with us about the benefits of Type Safety when working with TypeScript. What is type safety? Does the presence of types alone make you safe? How do you make projects more type safe? Visit nx.dev to get the preeminent open-source toolkit for monorepo development, today.
How to Fix the "Cannot Use Namespace as a Type" Error in TypeScript | Medium
Learn how to quickly fix the “cannot use namespace as a type” error in TypeScript.
Pothos vs. TypeGraphQL for TypeScript schema building - LogRocket Blog
This guide to Pothos and TypeGraphQL compares their features, ideal use cases, and how to get started with schema building in TypeScript.
3 and 1/2 Reasons Why Your Tests Should Be Stateless | by Bobby Galli | Jun, 2022 | Better Programming
“A stateless process or application can be understood in isolation. There is no stored knowledge of or reference to past transactions. Each transaction is made as if from scratch for the first time…”…
Typescript: Conditional types. Conditional types | by Lucas Paganini | Jun, 2022 | Medium
Conditional types in TypeScript are super powerful, they allow us to create type functions. I’ll show you. If this was a function, you would simply use conditionals to drive the code. It would look…
Getting Started with Playwright Typescript | by Sanjeev Kumar | Jun, 2022 | Medium
Playwright is automation tool for e2e testing of modern web applications and it is completely open-source. As per Playwright dev team , it is designed to “enable cross-browser web automation that is…
Using yup and typescript for typesafe select validation | by Daniel Voigt | Jun, 2022 | Medium
Validating user input to can be quite cumbersome from time to time, especially with predefined select values. Your back-end is expecting a predefined set of values and you should validate them both…
Pothos vs. TypeGraphQL for TypeScript schema building - LogRocket Blog
This guide to Pothos and TypeGraphQL compares their features, ideal use cases, and how to get started with schema building in TypeScript.