help-typescript
Proper way to do subcomponents?
Open
React
Is there any clever way to DRY up these generic definitions?
Open
Legacy code uses `eval(code)` and `code` uses externally defined global variables. How to refactor?
Resolved
Spread generic in array
Resolved
Creating type with Generic keys where each key points to a different value type
Open
Node
Import types from file with different `lib`s and `types`
Open
How do conditional types work?
Open
Node
Custom Component with forwardRef
Open
TypeScript inference question
Open
how can I do Object.keys as const
Open
TS error from within a file that isn't rendering (and isn't supposed to be)
Resolved
React
Union type for dynamic import
Resolved
Paths not working, TS 5.2.2
Resolved
Node
Why is my `export let x` readonly?
Open
Construct object type from union type
Resolved
Infer return type based on parameter type
Resolved
Provide type safety for recursively generated object
Open
Easy: Array destructure with array push(), type mismatch
Open
Why isn't this global declaration file merging with other types?
Open
Typing problem
Open
Tooling
Using absolute imports in tsconfig.json
Open
Node
Assertions require every name in the call target to be declared with an explicit type annotation.
Resolved
How do I validate that a function returns a type that satisfies a certain type?
Resolved
Recursive type produces "Expression produces a union type that is too complex to represent"
Open
Project 'tsconfig.json' is out of date because output file 'src/index.js' does not exist
Open
Design pattern for indicating ongoing process.
Open
Typecheck that an array is containing every field of a type
Resolved
could anyone help me understand this error?
Open
TS modules are not being recognized - Unable to resolve path
Resolved
React
= this;
Open
ts-node, node and esm troubles
Resolved
Tooling
Node
Use absolute imports instead of relative imports
Open
Node
Generic types in static
Open
error TS2698: Spread types may only be created from object types
Open
Narrowed class constructor not propagated to parent
Resolved
Compose a type out of multiple Records
Open
Generic select component, how to force checking generic type
Open
React
How can I see computed type?
Open
Type problem with destructured defaults but getting "string | undefined" errors.
Open
how can I solve Spread types may only be created from object types???
Open
template arguments for a fixed-length array type
Resolved
Narrowing type based on object property
Open
How can I solve this problem???
Resolved
How to check if something is a class that extends a specific class
Resolved
Node
Setting type based on array values
Open
Node
Is something like this possible? (Calling exported function in the same export)
Open
Node
typescript infering right return type
Resolved
What's up with this children error?
Resolved
Operating on tuples - how to preserve member types?
Open
Different libraries for different entrypoints
Open