help-typescript
VScode TSC fails to give errors for undefined variables
Open
Node
Typescript is inferring to string instead of specific string literal
Open
allowing type hints for parameter object properties
Open
The guide: Modules - Choosing Compiler Options is not very useful and practical
Resolved
Array includes "Type 'string' is not assignable to type 'never'"
Resolved
Debugging and TypeError: Cannot read properties of undefined (reading 'id')
Open
Node
Types declared as const are resulting in unions
Resolved
Create a multi option string type from specifc key from given object
Open
Placeholder for automatically inferred type
Open
Is it possible to both accept all strings but also get intellisense for a union of strings?
Resolved
String array as const made of property from object array as const with .map()
Resolved
Why is the class-type can't narrow the type?
Open
TypeError: Cannot read properties of undefined (reading 'startsWith')
Open
Node
Map tagged union to »Subtypes«
Open
In tsconfig.json, does module and moduleResolution change the behaviour of Intellisense?
Open
Vue 3/TS script setup bug with style scoped WTF
Open
Vue
Is it possible to limit the scope of intellisense of some `.d.ts` files?
Resolved
Declare variable as generic type
Open
Node
Conditional Type works but a lot of errors
Vue
Resolved
Node
Two columns to become unique (composite primary key)
Resolved
React
Tooling
Make method parameter optional depending on constructor parameter presence
Open
ignore all errors on tsc command
Open
Found all the definitions used in typescript program
Open
Tooling
How to restrict property type based on its path?
Resolved
why can I pass invalid object keys to a function with generic constraints?
Open
How to fix 'any' overrides all other types in this union type.
React
Tooling
Is it possible to infer function return type of using extends with given parameters?
Open
What is easiest way to prevent matching of indirect type without introducing required property
Resolved
Why isn't the type of method parameter inferred when a class implements an interface?
Satisfy Function that Accepts Any Obect as Param
Open
Has anyone achieved the holy grail of ESM w/ node16 module resolution and no file extensions yet?
Open
Node
How to unpack an array type into single function parameters?
Open
Function with optional parameters that depend of the first one
Open
Question about type declarations generated by tsc
Open
How to make the type dynamic based on a different variable?
Open
Not extrict types
Resolved
TypeScript Class Inheritance
Open
create heterogenous array type where the type at each index is preserved
Open
Possible to apply generic to generic?
Resolved
implement function in extending interface?
Resolved
CFA on a function that removes keys from its parameter
Open
Why does this type not work?
Open
TypeScript Error TS2749: 'event' Refers to a Value, but Is Being Used as a Type – Need Guidance
Resolved
Node
Templated String Does Not Satisfy Constraint
Open
TypeScript complains about an implicitly 'any' type, even when it isn't 'any'.
Open
Do i need separated index.d.mts and index.d.cts?
Node
how to do conditional return types based on the method argument?
Resolved
Tooling
Patterns to use when consuming JSON data
Open
Record type with required keys consisting of all values of a tuple
Resolved
Issue with JSON type inference
Resolved