help-typescript

11339 threads · Page 59 of 227

Invalid type 'any' of template literal expression 3 messages
Open
generic response based on input? 16 messages
Resolved
Overloading allows generalization in the "wrong direction" 28 messages
Open
String interface doesn't see my newly added function. ts(2339) 22 messages
Open
Why new Map causes no type inference 8 messages
Open
Create type 18 messages
Open Tooling
Create Type: Deep Partial By Path 4 messages
Open
RegEx 68 messages
Open
How to define a type that enforces an object key to match a value 14 messages
Open
Type is not assignable to type 'QueryKey' 37 messages
Open
Including typescript library files that include other typescript files 123 messages
Open
Howto specify a `*[Symbol.asyncIterator]()` method on a class when `isolatedDeclarations` is enabled 4 messages
Resolved
How to remap const asserted object to tuple in a safe manner 38 messages
Open
My published NPM module does not have correct types 11 messages
Open
Accessing interface name of constructor arguments using metadata 2 messages
Open
Why does my query selector return null? 13 messages
Open
How to Infer Specific Return Types for Each String Literal Property in an Array of Objects? 10 messages
Open
Using instanceof vs object property 16 messages
Open
Retrieving image from Meta Graph API 16 messages
Open Node
how to make error thrown in backend display on frontend? 26 messages
Open React
Parsing vs Predicate + Unit Tests 46 messages
Open
Typing issue 14 messages
Resolved
What's the right way to implement type guards that are checked to be exhaustive and accurate? 47 messages
Open
Record Typing 16 messages
Open Vue
Widening (?) string template key in Map lookup 13 messages
Resolved Node
I CANT CHNGE THE SIZE OF THE IMAGE :( 115 messages
Open
Browsing, searching type information 14 messages
Resolved
Inference gets overwritten 49 messages
How does this library packs assets in a .tse file 3 messages
Open
path/Home.tsx' is not listed within the file list of project path/tsconfig.app.json'/...... 2 messages
Open
How to correctly index a interface with dynamic key, without using any 12 messages
Open
Can't create recursive type or interface 65 messages
Resolved
Infer functions different return types and use that as the return type of current function 24 messages
Open
narrowing React.ElementType? 3 messages
Open React
Shorter way to write this? 14 messages
Resolved
Paths isn't working on tsconfig 13 messages
Node
What are the square brackets [] in return { [prop1]: () => true }... doing? 18 messages
Resolved
Newbie question Preventing myType:MyType = "any string" 24 messages
Open
How to fix this 'does not satisfy the constraint'? 2 messages
Open
Base Interfaces and Mixed Types 5 messages
Resolved
Conditional return type based on function parameter 9 messages
Open
How should I store and manage instances 62 messages
Open
flags: defining and observations 10 messages
Open
Union of tuple narrowing 14 messages
Resolved
Using as assertion 15 messages
Open
I upgraded typescript and now I don't know how to pass a variable into `Array.includes` anymore. 56 messages
Open
Property 'removeAllListeners' does not exist on type 'WebSocket'. Did you mean 'removeListener'? 9 messages
Open Node
Forwarding refs to components that could conditionally render different types of element 6 messages
Open React
infer type of class field by constructor type 38 messages
Resolved
Interdependent members of array 76 messages
Open