help-typescript
ComponentProps doesn't allow all component props
Open
How to type <Link> component in react-router-dom when "to" prop is a number
Open
React
Automatic type narrowing
Resolved
How to extend an array prototype (or use a custom array type instead)
Open
How to write when the number of generics is dynamic?
Resolved
React
How to write an iterator function?
Resolved
Is there a compiler that requires strict typing on "let" properties?
Resolved
Achieving Conditional Type Determination at Runtime based on Object Property
Open
Handling errors with a function that either returns a number or an error message
Open
Typescript Type inference
Open
Node
Why does TypeScript not show an error when I try to check for null on a type that cannot be null?
Open
Using absolute imports in tsconfig.json
Resolved
Node
`ERR_REQUIRE_ESM` when importing chalk
Open
Node
How to properly define `as const`
Open
Doubt regarding order of parameters even if type is defined in typescript
Open
Object is possibly "undefined"
Open
Help understanding why a function doesn't satisfy my interface
Open
How do I get rid of the annoying Object is possible 'undefined' message?
Resolved
How to autocomplete for dynamic string literal
Resolved
.
Open
Limitations of using discriminatory unions with boolean literals
Open
React
tsc on cPanel not working
Open
Node
Adding a click event listener from inside a class method
Open
Node
How to prevent keys with the same name from becoming union types when different objects intersect, a
Open
Well typed object generated by factory with dynamic keys
Open
alternative to "this" in typescript? 🥺
Open
React
How do I Partial<> an object's nested properties recursively?
Resolved
Are you allowed to `include` .d.ts files in tsconfig?
Open
Basic func-declaration question, re "default" and params
Open
Newbie: typing a function
Open
Next.js not executing any custom code, only markup works
Open
React
Node
Creating tuple types from constants
Open
This expression is not constructable.
Open
array of generic types, extract generic to union
Resolved
Typescript recursive type problem (JsonObject)
Node
`EventTarget` is not generic. How to extend?
Open
How to tell TS one of two optional types exist
Open
Tuple of object keys to tuple of object values
Open
correct type inference for converting an array to an object
Resolved
How to destructure a value if it may be undefined
Resolved
React
Expression is not callable
Resolved
keyof typeof JsonFile Object as never
Open
Node
How to express `string | Promise<string> | Promise<Promise<string>>` etc?
Open
Inferring a type in an array of objects based on a string literal
Resolved
What is the correct way to model sparse arrays in TypeScript?
Resolved
Json parser not working
Open
Node
when i run c code in vs code it dont work
Optional type
Resolved
Discriminated Union Reused Prop Type
Resolved
React
How to correctly reference dependent project
Open
Tooling