help-typescript

11339 threads · Page 111 of 227

Could someone help me with understanding syntax differences in mapped types? 11 messages
Resolved
typing fn array parameter 40 messages
Open
Is there a way to have a type-safe import path passed in to a function? 4 messages
Open
Help with TypeScript JSDoc 3 messages
Resolved
Different types should have matching property types when a key value matches 2 messages
Open
omit<T & { 'foo': string }, 'foo'> != T 42 messages
Open
Restricting a function's parameters to fields of a generic type 6 messages
Resolved
How to get generic Interface from union of React.FC<T> 5 messages
Resolved React
Creating a type from filtered object 46 messages
Open
How do I generically call a function? 37 messages
Open
Typescript type checks npm module too 3 messages
Open
Optional parameters return type 14 messages
Open
Correlated union not correctly typed with function generics. 23 messages
Open
How to properly use discriminated union type as a value for a Map? 21 messages
Resolved
Return type 8 messages
Resolved
react-bootstrap styling ? The Styling is not working for any of my react-bootstrap components 2 messages
Open React
in operator type 44 messages
Resolved
Is it possible to transform named tuple in object type ? 3 messages
Open
Not able to use await 2 messages
Open
Why does typescript seem "unhelpful" when it comes to `toString()`? 22 messages
Resolved
Inferred type assumes all possible types in an OR 63 messages
Open Tooling Node
instanceof failing 212 messages
Open
Type inference between generic with unions 4 messages
Open React
TypeScript says these types aren't assignable to each other but I'm not sure what I'm doing wrong. 16 messages
Open
array object indexing 136 messages
Open
Feedback on React/TS TicTacToe 24 messages
Open
bizarre 169 messages
Open
How to specify types when using spread operator? 17 messages
Open React
Extracting Generic Function Parameter 30 messages
Resolved
is guard for generic narrow 8 messages
Resolved
Conditional type using generic not evaluated correctly 27 messages
Open
Type inheritance doesn't work 16 messages
Open
Generic transformation select function help 7 messages
Open
Trying To Import GitHub Repo as a Package (not on NPM) 11 messages
Open
Shrink class type 7 messages
Resolved
How do you implement `interface Foo { (...args: any[]): Bar; }`? 19 messages
Resolved
Need help typing custom properties for a websocket connection 2 messages
Open Node
Prevent widening using string template 3 messages
Resolved
Is there a way to rewrite this filterEmpty function type to avoid excessively deep error? 2 messages
Open
Interface with known key of specific type and unknown number of other keys with different type 10 messages
Open React
What's the difference between a discriminated union and a non-discriminated union? 11 messages
Resolved
Promise or not promise, TypeScript doesn't care 36 messages
Open
How to enforce decorated method's parameters to be only specific types? 7 messages
Resolved Node
TypeScript does not understand custom property 8 messages
Open
(Angular/Jasmine) Mock imported const function that returns an object? 8 messages
Open
The intersection was reduced to 'never' because property 'type' has conflicting types... 4 messages
Open
{ [typex in typeX]: typeZ<typeY & typex> } is this possible? 2 messages
Open
Multiple request issue 3 messages
Open
show options depending on the key given in the object 25 messages
Resolved
Why is the type of a parameter not being inferred by TypeScript? 12 messages
Open