help-typescript
Looking for a second set of eyes for declaring types
Resolved
Handling optional arguments with generics
Open
Why ts-node or build transforms someFunc(someVar) to (0, someFunc)(someVar)?
Resolved
Node
Async generator over aws-sdk 'nextToken'-style client methods
Open
Nested string literal constrainers
Resolved
Typecasting Issues
Open
Why do errors for incorrect parameter types only pop up after a space or new line?
Open
installing dynamic methods on a typescript class
Resolved
Is it possible to type a *named* function using a previously defined type?
Open
Alternative to multiple replaces
Resolved
Generator/Iterator wont work for generator functions
Resolved
declare type of an attribute in parent class without defining it
Resolved
sequelize-cli-typescript migration problems
Resolved
generic method for two properties of class of same functionality but different names
Open
How to force the argument of a function to be of a specific Type property.
Open
Removing a property of an object
Resolved
Routing works but components do not load
Resolved
Angular
separate-type-imports vs inline-type-imports
Resolved
SyntaxError: Cannot use import statement outside a module
Open
Why it happens on only one file (that's where i declare it) while i declare it globally
Resolved
Node
Inference Error
Resolved
Constraining a generic type to a union of string literals
Resolved
Is there any way to add a the same field to every type in a union type?
Resolved
optimized type keyword ?
Open
Angular
React
Difference between return setState and setState then return
Resolved
React
typescript not throwing error for wrong type
Resolved
React
Node
// ^? extension
Resolved
Argument of type T is not assignable to parameter of type T
Resolved
React
Typescript is not showing the "X is possibly 'undefined'" error for some reason
Resolved
Tooling
Zod Object has either this or that property
Open
Type 'FormEventHandler<HTMLElement>' is not assignable to type 'FormEventHandler<HTMLElement>
Open
React
Object.assign adds new class members
Resolved
Unable to use conditional type as return type
Resolved
Is there a clean way to handle errors in typescript instead of using a bunch of try catch blocks
Open
Node
Getting `Cannot invoke an object which is possibly 'undefined'` for properly (I think?) typed object
Resolved
Getting generic type on the second parameter of tuple
Resolved
Generify the return type of an object full of functions
Resolved
How to turn a block of code into a function without breaking types?
Resolved
React
Cannot find name 'fetch'
Open
How to setup a generic type for object->array->object
Resolved
Pass service reference to an anonymous class
Open
Map with definite keys and values
Open
Typescript not throwing error when regexing an object
Resolved
Spreading iterator as function arguments
Resolved
TypeScript 4.9 broke my code. Can someone explain why ?
Open
Reduce with initial keys not directly related to current value
Resolved
Return type too wide or too narrow in custom find operation
Express middleware problem
Open
Inferring class members
Resolved
Defining a generic type when looping classes implementing a type
Resolved