help-typescript

11339 threads · Page 24 of 227

Using keyof typeof to infer string literal type for Icon component 2 messages
Open
Type inference with generics, unions and arrays 16 messages
Open
Cannot find module 'node:path' or its corresponding type declarations. 5 messages
Open
Using typescript with static pages express.js 4 messages
Open
Not understanding type inference of union types 13 messages
Resolved
Seeking Feedback on Simplifying TypeScript Function Pipeline Output Calculation 12 messages
Open
Runtime type is string, compile time type is number 15 messages
Open
Passing generics and inferring from a config input always gives me null 12 messages
Open
Argument of type '(arg: "somekey") => null' is not assignable to parameter of type '(str: string) => 4 messages
Open
Function parameters on Interface not enforced 4 messages
Open Angular
How do I make a generic function argument optional, iff a condition on the type parameter is true? 31 messages
Resolved
Learn TS by Example Problem Set? 4 messages
Open
Is there a type-safe way to convert one interface to another? 9 messages
Resolved
Recreate synchronous Promise.allSettled 57 messages
Open
Getting error in types.d.ts file 39 messages
Open
Sharing types between backend and frontend apps 9 messages
Open
[removed] 4 messages
Resolved
Dealing with null 9 messages
Open React
Common properties (with same type) of union 17 messages
Open
split is not a function 13 messages
Open
iterate part of object props with specific structure 5 messages
Open
TypeScript Error: Conditional Type Inference Fails in Generic Function 9 messages
Open React
conditional generic return based on arguments doesn't work when the argument is not passed. 68 messages
Resolved
Senior Full-Stack Developer – Remote(africa, india, etc) 3 messages
Open
Create a function that maps key names of object and return Proper type object 8 messages
Open React
No type errors, no `any`, but code produces crash at runtime 6 messages
Resolved React
Generic Issue 50 messages
Open
type question 7 messages
Open Node
Getting the name of a property when using a decorator 4 messages
Resolved
Type `Obj` in generic slot of `func` have no code-hinting 7 messages
Open Tooling
Add class only if undefined 2 messages
Open
Why doesn't TypeScript infer exclusions? 11 messages
Resolved
How do I initialize a TS custom hook with different number of multiple parameters? 7 messages
Resolved
How do I implement this interface? 6 messages
Open
Union of two function types with different parameters but same return type 44 messages
Open
TS and setInterval/clearInterval 9 messages
Resolved Node
Redefine a property's type in extended Interface 9 messages
Open
Assert multiple object properties are not `null | undefined` at the same time 39 messages
Resolved
Abstract class static factory method? 22 messages
Open
Polymorphism and method argument intersection 36 messages
Resolved
i need help at next-auth.js 11 messages
Open
Infer nested types from a generic type 38 messages
Open
Infer types in a child class of an abstract generic parent class 22 messages
Resolved
Why this typescript throws error for a correct js code 42 messages
Resolved Tooling
Complex and difficult to describe issues about type reuse and type checking 40 messages
Resolved
Hiding properties in an extending class 19 messages
Open
Is there any IDE extensions or something to let me know is a function pure or not? 25 messages
Resolved
At runtime (node), get all argument values of a function. 93 messages
Open Tooling
Enforcing Compile Time Checks On A Generic Type Via Type Alias 22 messages
Open
Dockerfiles for React.js, Angular, Vue.js, Next.js, Remix.js,Analog.js, Nuxt.js applications 36 messages
Open