help-typescript
TypeScript doesn't know I can use a string to index a const object after if statement check
Resolved
Tooling
Using class method as `this` type restriction in class with private fields
Resolved
Read package.json imports from tsconfig
Resolved
Tooling
Type differences in database and app
Open
What am I doing wrong here? Trying to select a function based on type of a function parameter
Open
Are template literals a good refactor for this code?
React
ts & node & esm: absolute paths in imports, cleanest approach, without ts-node possible?
Open
Node
same type narrowing logic doesn't work on a different example
Open
Tooling
Node
How to cast object to Date successfully
Open
Node
How do I use `satisfies` to ensure that all values of a tuple are present in a Record?
Open
How can I get multiple checkbox values?
Open
Angular
Weird behaviour with return type of function intersection
Open
Property getting evaluated to `boolean` instead of actual value
Resolved
Do you want some magic?
Open
Why am I getting type errors here?
Resolved
React
No error type when code is inlined but when separated into more variables there is
Open
Storing React Element in Local Storage
Resolved
React
how can I specify which union variant I mean?
Open
Why number indexes are treated as string ones?
Open
Difference between [k in string] and [k: string]?
Resolved
An odd problem with return type
Open
How to make the function more generic?
Resolved
Node
type assertion
Open
Map over Union
Resolved
`x in y` check doesn't make `x[y]` truthy?
Open
Review about portfolio...
Resolved
React
Node
How to create a function that accepts an object and a spread string[] of keys that are recursive?
Resolved
Reduce on Object.entries
Resolved
Decorator Paths Not Working
Open
Trying to write a generic object store for svelte...
Open
strict seemingly not enforced with Spicetify Creator
Resolved
Fastest way of finding a file's tsconfig from an array of tsconfig
Open
Global tsconfig file
Resolved
How to upcast?
Resolved
Default destructured value issue
Resolved
Dynamic imports type safety?
Resolved
Type 'A | B' is not assignable to type '{email: string; password: string; confirmPassword: string}'
Open
React
Optional fields in object via &
Resolved
TS sees component as a type
Resolved
React
limit keys of mapped type
Open
Property 'bar' does not exist on type 'Record<string, any> | undefined'.
Resolved
Why `.flat` on array is not recognized in `es2022`?
Open
Optional chaining in typescript?
Open
String union is inferred as string in generic function
Resolved
Passing type to key in JSON
Open
How TypeScript resolves ESM while using the algorithm to resolve CJS module?
Open
Generics with type alias
Resolved
How to get unsigned 8-bit numbers?
Open
Tooling
Node
Help w/This expression is not callable. Type 'unknown' has no call signatures. I'm passing generic..
Open
Type narrow with generics, avoiding "could be instantiated with a different subtype"
Open