help-typescript
How do I check if an optional peer dependency exists at runtime?
Resolved
Node
Issue in a type
Open
Tooling
Losing generic type inferring from array element type with dot notation
Resolved
Need help understanding how to type a function
Open
Node
Deriving a type by fixing one attribute
Open
How to correctly wrap react components?
Resolved
Default value for type discriminant
Resolved
Function that defaults to Element, but can be retyped using a valid HTMLElement or SVGElement
Open
Ensure function only accepts strict Zod schema
Resolved
React
Best way to implement traits/typeclasses and match them
Resolved
Losing "autocomplete" for types which are stronger
Resolved
How to set a prop type based on another prop type?
Open
discord.ts deploy-commands Error
Open
Node
Polymorphic with types?
Open
Problem handling promises
Open
React
Type guard that accepts string but no spaces
Open
Recursive generic to resolve a route tree
Resolved
Node
Conditional type with optional generic
Resolved
how to setup TS with node.js
Open
this is my funnction, I a using any type here, how to replace it with generic?
Open
what's wrong with this type??
Open
Tooling
Node
Return type of a function with params
Open
Type missing from class
Open
Difference between plain static function and static function inside arrow function context
Resolved
Tooling
Node
Mapping one input into two different enums
Open
Node
dynamic type guard
Resolved
Is "include"/"exclude"/"files" config relevant for type checking or only for emitting?
Open
React
Tooling
Is there a way to define a whole file as a type?
Open
Node
what's the issue in my type??
Open
Tooling
Node
what does { field: Array<"INTERACTIVE">; } mean?
Open
Node
How to work with generic types and Server actions?
React
weird type issue
Open
Is it possible do dynamically generate an interface, from a union type?
Resolved
Angular
Type inference in generic utility type
Resolved
| and &
Open
Unexpected key types while using generics
Resolved
Why does type from union leaks into infer value of parent type?
Open
Inferring Class type from Method Decorator
Resolved
Node
Issue with Date type and null
Open
React
Automatic types possible?
Open
defining parameter list according to an array of strings
Resolved
React Polymorphic Components do not get Prop Suggestions
Open
React
type 'X' is not assignable to type 'this' in class
Open
Why would someone need typescript in a project and what does it help solve?
Resolved
TS7053 Element implicitly has an 'any' type
Vue
Resolved
Extract literal number from string
Open
Speed up compilation of `npx tsc`
Open
Is there a way to detect string temperate literal from string type in TS 5.4?
Open
Weird IntelliSense bug
How to infer dynamic props from an object prop
Open