help-typescript
Returning an array from a function in a different file
Open
Generic NonNullable how to?
Open
What assertion type to use?
Resolved
How to get keys from interface which is a mapped type?
Resolved
I am trying to change some compilerOptions and don't see any changes
Open
Conditional types determined by parameter values
Open
Extract return type of function
Open
error TS2742: The inferred type of 'X' cannot be named
Open
How to get parameters from generic if possible ?
Resolved
React
Returning same type as function argument
Open
Query against an API, and insert response into postgres DB
Resolved
Node
why is array inferred as string or number?
Resolved
How do I trim down this object creation?
Resolved
Get the key of nested object ?
Open
React
How to custom promise function name, see description
Resolved
string becoming `unknown` after re-assignment
Open
What can prevent TS to properly narrow types on some cases ?
Open
How to keep object key order in the type when combining objects?
Open
readonly tuple from interface or interface from readonly tuple?
Resolved
need a way to have TS recognize subclassible factory and product pair
Resolved
Generic array in interface
Resolved
How to reflect optional properties in return type?
Resolved
tsc reporting errors while VSCode being correct
Open
Node
Set a type of a function based on a callback with constraints?
Resolved
CORS Policy Error
Open
Angular
Node
how to do code generation at compile time?
Open
noUncheckedIndexedAccess with array index access
Resolved
JSDOC typing for vscode : optional ES6 class property
Open
Tooling
How to access first element of an multi-typed array?
Open
React
Node
Where to position brackets when doing a conditional intersection?
Resolved
How to enforce length of record based on length of array?
Open
express ts receving same request twice somehow
Open
executable
Open
Narrowing union type question
Resolved
Best way to ensure function only returns undefined if arg is undefined?
Open
Why does TS say 'Omit<T, "prop"> & { prop: string; }' is not assignable to parameter of type T?
Resolved
need help defining a type for this object
Open
Error trying to destructure nested object
React
Type for an object whose properties can only be types from third-party library
Resolved
How to have tsconfig in an application with node.js and regular ts
Open
`strictNullChecks: true` causing TS error that I'm not sure how to resolve
Resolved
Functions union > arguments ANDed?
Open
What is the type of the async function constructor?
Open
Keys from variables in object literal
Resolved
Why is this giving an error?
Resolved
TypeScript "currying" alternatives
Resolved
Get interfaces keys
Open
Tooling
Record<string, unknown> but must implement {id: string}
Resolved
Assist TypeScript with Go To Implementation (VsCode)
Resolved
Function that takes in an inferred generic type, but adding another required generic
Resolved