help-typescript

11339 threads · Page 102 of 227

Working with and spotting immutable state 7 messages
Open React
API for identifying auto-import suggestions? / Automated testing for intellisense 11 messages
Open Tooling Node
Get parameters and returntype of a function from keyof 12 messages
Vue Resolved Node
How to do overloading `addEventListener` for Custom Element? 22 messages
Resolved
JSX types not allowing values from setter (only from getter)? 25 messages
Open
Defining a type in terms of another type? 69 messages
Open
How should I get type inference for the nested key 6 messages
Open React
Type checking optimization 14 messages
Resolved
How do I name a type? 17 messages
Resolved
Is there a more performant way to get an object values other than Object.values? 6 messages
Resolved
React Props 6 messages
Open
Extending prototypes in a type-safe way (extension methods) 100 messages
Resolved
Type error with union types even after explicit check with if statement. (Recursive type definition) 5 messages
Open Tooling Node
Best practice for useState and complex objects/interfaces 3 messages
Open React
AsyncDisposable fails to recognize defined symbol in runtime 6 messages
Resolved Node
typescript using AsyncDisposable results in semicolon error while compiling 15 messages
Resolved Node
map error 3 messages
Open React
No location selected Question 7 messages
Resolved React
How to disallow declaring a new member in an interface for an existing type if not implemented? 6 messages
Resolved
discord.ts 13 messages
Open Node
Possible to make a type guard based on window being defined? 10 messages
Resolved
Dynamic imports 2 messages
Node
Can I avoid a type predicate or type assertion in this code? 21 messages
Resolved
Creating an expanding object type where some members are required if other members are initialised 4 messages
Open
Filtering object data in array 11 messages
Resolved
Can't narrow type of array 15 messages
Resolved
Extract methods from classes when this isn't used? 20 messages
Resolved
How to curry a dictionary of functions in a typesafe way 2 messages
Open
Type '(prev: FormData | undefined) => any[]' is not assignable to type '(prevState: FormData | undef 10 messages
Open React
How to properly represent a type of class? 4 messages
Resolved
What's a nice short way to filter types? 33 messages
Open
express-session in TS 29 messages
Open Node
its js stuck on tsc --build since a very long time 32 messages
Resolved
Refactor few lines of code 119 messages
Resolved
Type definition library where everything is global? 13 messages
Open
'userToBan' is possibly 'null'. 20 messages
Resolved Node
Proper return type 12 messages
Resolved
Referenced project missing from IntelliSense 38 messages
Nested function vs lengthy functions - Best practice ? 7 messages
Open
Suppress this weird behaviour 21 messages
Open
Displaying Time 21 messages
Open Node
How to infer types based on actual values 5 messages
Open React
Type of the first argument and return value should match - but for type instead of function 10 messages
Open Node
any way to remove `as` to access array elements based on index? 21 messages
Open
Nuxt $fetch<T> untyped function calls may not accept type arguments 8 messages
Open
A conditional return type with a default parameter 8 messages
Resolved
VS Code Language Extension Project - Hover Issues 13 messages
Resolved Tooling Node
How do I tell TS "don't try to look down here" ? 5 messages
Resolved
Generalize loop over array of union of objects using strict set function 8 messages
Open
Remix Loader & Typescript 10 messages
Open