help-typescript

11339 threads · Page 183 of 227

Multiple Conditions 2 messages
Resolved
@bound in standard library? 4 messages
Resolved
typescript says me something doesn't exist even if it does (prisma) 58 messages
Open Tooling Node
Question about equality for keys in a Map 8 messages
Resolved
Match tuple types to an array of functions and their first argument type 27 messages
Resolved
TS file format 10 messages
Open
Typescript function parameter type based on another parameter 8 messages
Open
Shouldnt this throw error? 7 messages
Open
Why doesn't ts understand that a string is a key of object? 5 messages
Open
Is it possible to define a `string` type that would be unique in an array of objects? 14 messages
Open
Argument of type is not assignable to parameter of type 'VerifyFunction'. 12 messages
Open
Narrow readonly Type[] 3 messages
Open Node
generate code out of Typescript types 9 messages
Open
Generic - T, K extends keyof T- broken autocomplete for K 6 messages
Open React
Very weird issue, totally no idea what's wrong here 7 messages
Open React
Best practice for object parameter with default properties? 3 messages
Resolved
If I have a type T<X> is there a way to extract the type X? 19 messages
Open
Handling generic classes in a "TaggedMap" 6 messages
Resolved
Create Class for inheritance 7 messages
Open Node
Super generic for database tables 10 messages
Open
create interface from file 56 messages
Open
How to handle multiple return types in a function? 7 messages
Open
Property 'GuildAuditLogEntryCreate' does not exist on type 'typeof Events'. 3 messages
Open
Is there a way to create a collection of types? 2 messages
Open
Array.map that works with tuples 7 messages
Resolved
Select Type based on Property A 6 messages
Resolved
Generics to the rescue for Radio Options? 12 messages
Resolved React
Typing interface property based on the value of another property 9 messages
Open
How to type a find in array function? 11 messages
Resolved
How to use the Record utility type, with custom type for each index 5 messages
Open React
Generic mapped record not being inferred when used as function argument 26 messages
Open
Conditional value type for Record<> 3 messages
Resolved
Using Generics in a compound component 7 messages
Open
Element implicitly has 'any' type because index expression is not of type 'number' after typecheck 2 messages
Resolved Node
Get names from an import and use it as an exact string[] 2 messages
Open
What does the hash sign, #, mean in the name of a class member? 4 messages
Open
[SOLVED] Declaring module for a 3rd party js library without @types 5 messages
Resolved
Cannot check if array does NOT contain a string 10 messages
Open Node
Need help identifying component type: React Router 24 messages
Resolved React
Reduce array to object 31 messages
Resolved
Operator '>' cannot be applied to types 'T & number' and 'number | T' 8 messages
Open
Class Field Decorator TS 5.0 Beta Example 4 messages
Open
Struggling with `extends` 27 messages
Open
satisfies does not narrow the type? 7 messages
Open
Is it possible to type a records values based on its keys? 15 messages
Open
Help with order of function in render 12 messages
Resolved React
having namespace issues 2 messages
Open Node
Change an super class-type to a child class-type, while preserving the generic type 3 messages
Open
Assigning default value to param of generic type 7 messages
Resolved
Getting errors 6 messages
Open