- filter non-null item properties with(out) type predicates? (string | null is not assignable to ... string) https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates 9 comments typescript
- How to use discriminated unions using a string[] to narrow type? https://www.typescriptlang.org/docs/handbook/2/narrowing.html 6 comments typescript
Linking pages
- GitHub - colinhacks/zod: TypeScript-first schema validation with static type inference https://github.com/colinhacks/zod 100 comments
- Handling errors like a pro in TypeScript | by Kolby Sisk | Dec, 2022 | Udacity Eng & Data https://engineering.udacity.com/handling-errors-like-a-pro-in-typescript-d7a314ad4991 44 comments
- GitHub - gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference. https://github.com/gvergnaud/ts-pattern 18 comments
- The Wizardry Frontier — Sympolymathesy, by Chris Krycho https://v5.chriskrycho.com/journal/wizardry-frontier/ 15 comments
- On TypeScript discriminated unions ▼ Rubén Sospedra https://sospedra.me/papers/typescript-unions 14 comments
- mrcjkb.dev - Algebraic data types in Lua (Almost) https://mrcjkb.dev/posts/2023-08-17-lua-adts.html 13 comments
- Takeaways from building a language in Rust https://blog.yoavlavi.com/takeaways-from-building-melody/ 10 comments
- Infrequent, Pragmatic, Lambda Blog - Type Enthusiast's Notes about TypeScript. Part 3. TS Complexity https://rpeszek.github.io/posts/2022-01-03-ts-types-part3.html 10 comments
- User-defined type guards in TypeScript – Giovanni Collazo https://gcollazo.com/user-defined-type-guards-in-typescript/ 9 comments
- GitHub - ts-essentials/ts-essentials: All basic TypeScript types in one place 🤙 https://github.com/krzkaczor/ts-essentials#readme 7 comments
- Narrowing Multiple Return Types in TypeScript | by Andrew Philips | May, 2023 | Medium https://medium.com/@andrewphilips/narrowing-multiple-return-types-in-typescript-6bb96447a105 7 comments
- Infrequent, Pragmatic, Lambda Blog - Type Enthusiast's Notes about TypeScript. Part 2. Typing Honestly https://rpeszek.github.io/posts/2021-12-24-ts-types-part2.html 5 comments
- GitHub - shaungrady/enum-utils: Make enums more intuitive with immutable `Set` and `Map` interfaces! https://github.com/shaungrady/enum-utils 5 comments
- GitHub - colinhacks/zod: TypeScript-first schema validation with static type inference https://github.com/vriad/zod 3 comments
- Writing Robust TypeScript Libraries — Sympolymathesy, by Chris Krycho https://v5.chriskrycho.com/journal/writing-robust-typescript-libraries/ 2 comments
- Prototyping and data modeling in the browser using TypeScript - Nicolas Hery https://nicolashery.com/prototyping-with-typescript/ 1 comment
- A deep dive into ES6 Classes - DEV Community 👩💻👨💻 https://dev.to/mustapha/a-deep-dive-into-es6-classes-2h52 1 comment
- Improving the user experience of page navigation with Apollo Client | by Joosep Alviste | Scoro Engineering | Jan, 2023 | Medium https://medium.com/scoro-engineering/improving-the-user-experience-of-page-navigation-with-apollo-client-ebfca0e83c08 1 comment
- Intermediate Typescript: Literals and Unions https://johns.codes/blog/intermediate-typescript 0 comments
- GitHub - welldan97/typescript-reference: TypeScript Reference for JS developers: Glossary of keywords, operators, statements and directives https://github.com/welldan97/typescript-reference 0 comments
Would you like to stay up to date with Web Development? Checkout Web Development
Weekly.
Related searches:
Search whole site: site:www.typescriptlang.org
Search title: TypeScript: Documentation - Narrowing
See how to search.