help-typescript

11339 threads · Page 130 of 227

Inferring a "id" type based on constructor params 3 messages
Resolved
Hallo wizards 3 messages
Open Node
i have a bug when i do scrolling in a web page 3 messages
Resolved
why does this work? 6 messages
Open
TS Bug or just an esoteric result of type inference? 10 messages
Open
ReturnType as inner Function Parameter without Type Casting 34 messages
Resolved Node
Requesting a wizard 8 messages
Open
How to have multiple object field types in record type inferred by function arguments 3 messages
Open
JSON typings from Webpack loader fail 4 messages
Open
Lookup Table with narrow types 105 messages
Resolved
tsc giving errors ts-node doesn't 60 messages
Resolved Node
Infer second generic argument 50 messages
Open
Generic components, implementation feedback 27 messages
Open Tooling
Using the useReducer hook in TypeScript 12 messages
Open React
How to convince TypeScript that for my type Unbox<T>, Unbox<Unbox<T>> equals Unbox<T>? 15 messages
Open
Interfaces use with switch / record compiler difference 18 messages
Resolved
how can i have a class with a type dependent on another field? 6 messages
Open
Conditional Type based on Generic 6 messages
Open
Annotating class members based on other class members like how types work/[MemberNotNullWhen] in C#? 7 messages
Resolved
Type depends on type of other var, how? 4 messages
Open
Class Implementing Interface Method Return Type Not Respected? 28 messages
Open
Allow a function to throw, but all branches that don't throw must return a certain type 13 messages
Open
How do I add a property to an object? 2 messages
Open
Help needed with decorators 97 messages
Open Node
Custom Tracking Script Errors 87 messages
Open Node
TypeScript Error - Property 'user' does not exist on type 'Request 39 messages
Open
Add link to html via global constants file 7 messages
Open Angular Node
Dealing with type any 52 messages
Resolved Node
Generic typeError: Argument of type 'T[keyof T]' is not assignable to string 40 messages
Resolved
Very challenging type problem, need to infer nested references 2 messages
Open
Firebase react setup 13 messages
Open React
TypeError: guilds.map is not a function. 37 messages
Open
"Type is not assignable to type" for ReturnType but it should be 4 messages
Resolved
Why is TS thinking that I wanted to import the @types package here? 6 messages
Open
Make Specific object types assignable to Record<string, any> in function generic parameter. 14 messages
Resolved
Class weird type problem 10 messages
Open
How to determine object type by propery.startsWith()? 23 messages
Open
Property 'isIP' does not exist on type (import validator from "validator") 10 messages
Open
How to get inner join/intersection between 2 types? 7 messages
Resolved
Auto import doesn't use relative paths 5 messages
Resolved
Overload class method return type 6 messages
Resolved
lib dom not working 4 messages
Open
Unable to narrow `T extends object` type 4 messages
Open
Attempted import error: './index.cjs' does not contain a default export (imported as 'cjs'). 4 messages
Open
Extend Interface Sub-Property 15 messages
Open
VSCode is flagging my method overload as an error 5 messages
Resolved
How to type props for a function return value 28 messages
Resolved React
Why does TypeScript type conditional affect result of its branch? 3 messages
Open
Property 'accessToken' does not exist on type 'Document<any, any, unknown>'. 12 messages
Resolved React
Why does property become nullable when spreading an object? 3 messages
Open