help-typescript

11339 threads · Page 169 of 227

This expression is not callable. 34 messages
Resolved
why vscode does not provide intellesense for accessor when it is string 15 messages
Open React
How to set a useState with an empty object, and then type it? 13 messages
Open
Indexing `T extends K` in class method 7 messages
Resolved
'typeof TableSearch__SvelteComponent_' is not assignable of type 'Constructor<SvelteComponentDev>' 2 messages
Open
Function parameter determines return type? 22 messages
Open
Exhaustiveness checking of type 25 messages
Resolved
Discrepancy between creation and assignment of unions 22 messages
Open
i find it a Pain in the *** to use typescript when typing Browser js stuff (dom,events ...) 19 messages
Open Vue
error TS2550: Property 'assign' does not exist on type 'ObjectConstruct '. 32 messages
Resolved
enum used as key to map should not have possible undefined 3 messages
Open
How can I match for extension of callable objects ? 3 messages
Resolved
Criteria for single .d.ts output file 13 messages
Open Tooling
Idiomatic type declarations 6 messages
Open Tooling
Function parameter should have a different type, if a property is present 26 messages
Open React
ESLint: 'key' is defined but never used.(no-unused-vars) 3 messages
Open
Path Error 3 messages
Open
A react component that forwards the valid props for a dynamic one? 22 messages
Open
narrowing 16 messages
Open
Constraint for object key 6 messages
Open
Generic inference by argument 10 messages
Resolved
Extend Object Type When Walking Through The Parameters Of A Function 25 messages
Open
How change Object properties in typescript 10 messages
type inference with data last curried functions 8 messages
Open
Expression "1" cannot be used to index the type "EventTarget 7 messages
Open React
Stubbing dynamically generated module types not working 2 messages
Open
Variable generic input length? 6 messages
Open
How to prevent keyof generic from being a union type of keys through distributive inference ? 7 messages
Resolved
Type Guard isn't working 61 messages
Open Node
Generic as a string value 7 messages
Resolved
Slow intellisense / type acquisition / checking 4 messages
Open Tooling Node
Why is the result of `[1,3].at(1)` (or `Array(1,3)[1]`) typed as "Number | undefined"? 19 messages
Open
Ternary with extends issue 13 messages
bunch of errors 35 messages
Open Node
Generics issue 22 messages
Open Node
Typescript generics warning 64 messages
Open
How to check if union type can be undefined or not using extends? 7 messages
Resolved
How to determine object variable type from a union? 3 messages
Resolved
Why can't I get type hints/autocomplete for `K extends keyof T` in this simple example 11 messages
Resolved
is there a way to stop typescript from widening types 302 messages
Open
No index signature with a parameter of type 'string' was found on type ... 5 messages
Resolved
Error: ER_TRUNCATED_WRONG_VALUE: Truncated incorrect DOUBLE value: 'Kartoffel' 5 messages
Open
How is this undefined (working with old apis) 13 messages
Open
Decorators not being able to set field 19 messages
Resolved Node
Typescript error! 46 messages
Open Node
Define a generic function parameter that accepts any interface that extends another interface 9 messages
Open
Enforce types to NOT have specific keys? 6 messages
Resolved Node
Typing a difference(arr1, arr2, comparator) function 29 messages
Resolved
Why am i getting a unexpected ui error 4 messages
Resolved
ConstructorParameters makes mapped tuple type lose its array capabilities 2 messages
Open