All Things Typescript
Subscribe
Sign in
Home
Notes
Chat
Archive
About
New
Top
Discussion
Why avoid the Any Type in Typescript
We do a deep dive on any in Typescript, why it exists, why you should avoid using it and remedies and alternatives to using any within your codebase
Nov 20
•
Maina Wycliffe
5
Share this post
Why avoid the Any Type in Typescript
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
October 2023
Avoid using Type Assertions in TypeScript
In this issue, I will explain why you should avoid using Type Assertions in Typescript and techniques you can use to avoid them.
Oct 23
•
Maina Wycliffe
4
Share this post
Avoid using Type Assertions in TypeScript
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
July 2023
Always Prefer Type with a Narrower Scope in Typescript
Learn why you should always prefer types with narrower scopes such as Literal Types in Typescript
Jul 18
•
Maina Wycliffe
5
Share this post
Always Prefer Type with a Narrower Scope in Typescript
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
June 2023
Thank you for 700 Subscribers!
Hi everyone, I'm thrilled to announce that we have reached 700 subscribers for my newsletter! This is a huge milestone for me and I couldn't have done…
Jun 29
•
Maina Wycliffe
8
Share this post
Thank you for 700 Subscribers!
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
When is a variables' Type Never?
Demystifying the Typescript never Type by looking at situations where you may encounter the never Type in your day-to-day activities.
Jun 19
•
Maina Wycliffe
3
Share this post
When is a variables' Type Never?
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
Looking up the Input and Output Types of a Function using the Parameters & ReturnType Utility Types
Learn how you can look up the parameter and return types of a function that don't have explicit types, or their types aren't exported.
Jun 5
•
Maina Wycliffe
8
Share this post
Looking up the Input and Output Types of a Function using the Parameters & ReturnType Utility Types
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
April 2023
Let's connect on Substack Notes
A new place to connect
Apr 12
•
Maina Wycliffe
Share this post
Let's connect on Substack Notes
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
Indexed Access Types in Typescript
In this post, we learn how we can look-up types inside types of objects and arrays.
Apr 3
•
Maina Wycliffe
3
Share this post
Indexed Access Types in Typescript
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
March 2023
The typeof and keyof operators - referencing variable types in Typescript
A practical guide on how you can use Typescripts keyof and typeof operators to build types from variables.
Mar 27
•
Maina Wycliffe
5
Share this post
The typeof and keyof operators - referencing variable types in Typescript
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
January 2023
Using Zod Schemas as Source of Truth for Typescript Types
Learn how to avoid duplicating both Zod Schemas and Typescript Types and instead infer Types from Zod Schemas, using them as a source of truth for your…
Jan 23
•
Maina Wycliffe
2
Share this post
Using Zod Schemas as Source of Truth for Typescript Types
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
Narrowing Types in Typescript
In this issue, I walk you through Type Narrowing, what it is and techniques we can use to do Type narrowing.
Jan 17
•
Maina Wycliffe
1
Share this post
Narrowing Types in Typescript
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
December 2022
Join my All-Things Typescript chat
A private space for us to converse and connect and learn from each other
Dec 5, 2022
•
Maina Wycliffe
1
Share this post
Join my All-Things Typescript chat
www.allthingstypescript.dev
Copy link
Facebook
Email
Note
Other
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts