help-typescript
Using Class<T> like in java returns error Property missing
Resolved
Node
why this interface is only taking the first instruction?
Open
Why this code just refuses to work
Open
Node
Autocompletion for keyof object but also allow any string, and infer the type from union in a switch
Open
Preventing type imports from being rewritten as dynamic imports
Open
Importing JSON file and using ts5 "const" to get values as type.
Open
React
Strange behavior with merging Records of incompatible types
Open
Prisma's InputJsonValue doesn't allow interfaces or type aliases
Resolved
Node
Disable creating a union out of a very large array?
Resolved
Hello ! what is wrong in my code ?
Resolved
Typing JS files in relative paths
Resolved
Estimated time
Open
for (const key in myObject) { myObject[key] }
Resolved
ESLint: Promises must be awaited, end with a call to .catch, end with a call to .then...
Open
This expression is not callable
Resolved
Discriminating object types
Resolved
VSCode intellisense isn't autocompleting paths aliases
Open
`import type` without producing an ES module?
Resolved
Tooling
Using vitest: Mocking React callback prop.
Open
React
Testing functions that make HTTP requests
Open
React
Tooling
Get type depending on other type
Resolved
deconstruct type into smaller types
Resolved
Tie RegExp to a value like `<K extends keyof T, V extends T[K]>`
Open
Possible to infer string as union of string literals in function params?
Resolved
function returning promise returns promise before promise is complete
Open
Importing ES module into CJS
Resolved
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type
Resolved
Casting `{ rowData: e}: {rowData: Foo}`
How can i get ReturnType from object values
Open
Element type of intersection of array/tuple
Resolved
How to iterate a union?
Resolved
String cant be used as index type, no index signature with a parameter of type string was found
Open
React
how can I narrow the types of mixins with instanceOf or something similar?
Open
Intersection type failing to be awesome
Resolved
Either have 2 properties in an interface or neither
Open
extends T
Resolved
tsconfig use lib only for specific file
Open
Moving keys from one interface to another
Open
How can I set `tsc --watch` to just compile the contents of a folder to another?
Open
Tooling
are there @functions/classes in typescript? like in java or python
Resolved
Conditional type prematurely resolved to union
Open
Help TS infer type as type A or type B, rather than A | B
Resolved
Node
Function overloading for callback with variable number of args
Resolved
discriminating union omits all properties that are not shared
Open
Inferring correct overloaded parameters from type parameter function
Resolved
Abstract methods dynamic typing
Resolved
Keys in object dynamically decided type values in `ReadonlyArray`
Open
string and number extension
Resolved
Record/Object value based on index string template
Resolved
Node
Infer generic type, based on argument type, and effect return type.
Open