help-typescript

11339 threads · Page 12 of 227

Function Overloads for different return types depending on parameters 5 messages
Resolved
Readonly array to readonly object 3 messages
Open
When does ts recompute? 3 messages
Open
Cannot build DTS because using AWS S3 Client 17 messages
Open
Need help with Array Generics 6 messages
Resolved
Restrict key if value nullable? 5 messages
Resolved
A way to create a type parameter mid-type, or similar, for better performance 14 messages
Resolved
best practices for designing data objects for authentication 10 messages
Open
Looking senior developer? here! 4 messages
Resolved React Node
How to safely access a static property from a specific instance? 5 messages
Open
ESLint throws possibly erroneous no-unnecessary-condition on type guard check 9 messages
Open
Best practice to incrementally adopt noImplicitAny? 10 messages
Resolved
tsc not compiling .d.ts files 2 messages
Open
Mapped type should remove properties instead of resolving to never 6 messages
Resolved React
best way to handle Map() 12 messages
Open
error using a complex type 9 messages
Open
No OverLoad Matches this Call 2 messages
Impossible? type puzzle inferring parameter type while also reading return type 13 messages
Resolved
Not really sure what this error means..... 10 messages
Open
How do I get this overload to work? 10 messages
Resolved
Problem fetching from API 12 messages
Resolved Node
Struggling to understand what's wrong with this design 8 messages
Resolved Node
Covariant / contravariant issue when defining a function generic with same input and output type 40 messages
Resolved
typescript not making locales folder 5 messages
Resolved Node
How to use Enums in erasableSyntaxOnly? 10 messages
Open
Why Type Equivalence Fails When Indexing Member Of Union? 6 messages
Resolved
ResizeObserver infinite loop 37 messages
Resolved
Keep array as a tuple 13 messages
Resolved
My tsconfig build isn’t resolving my aliases, which is causing issues with Vitest 8 messages
Open
Help with user-defined type guard 9 messages
Open
How do I get TS to narrow the type of a computed-property in an object initializer expression? 14 messages
Open
Have a generic argument in a type declaration 35 messages
Resolved
Create a recursive type from the Array properties of a Generic 16 messages
Open
Getting started with TS 3 messages
Open
Keep only literals from string type 24 messages
Open
Circular error? 3 messages
Open Node
Extracting a type from a Union 7 messages
Open
How to use types to get from one Record type to another 40 messages
Resolved
Generics Syntax 6 messages
Open
Error: 'ERR_REQUIRE_ESM' – Failed to load config from vitest.config.ts (turborepo + vitest) 2 messages
Open Tooling
Cannot remove undefined from type 2 messages
Open
why does typescript not understand when something cannot possibly be undefined? 8 messages
Open
Inferred type issue in library - Tamagui 32 messages
Open
How to type a deep object accessor? 9 messages
Resolved
refer to generic type in body 8 messages
Open
Typing didn't work when destructuring with `readonly` types 8 messages
Open
Re-exporting types in the .d.ts file built from a source .js file? 11 messages
Open
excess property checking quirk 3 messages
Open
I am creating my own type testing library, and want your suggestions for it 8 messages
Open Tooling
keyof Record when generic - not just a string 24 messages
Resolved