help-typescript

11339 threads · Page 213 of 227

ReferenceError: exports is not defined in ES module scope 2 messages
Open Node
`string` cannot be used to index type T 12 messages
Open
Typed npm package doesn't contain types of dependencies 3 messages
Resolved
What does no type overlap mean? 11 messages
Resolved
class with function listener 19 messages
Open
Naming Conventions for Types and Interfaces? 14 messages
Resolved Node
Infer array literal instead of string[] in generic 15 messages
Resolved
Describe a function with a property 9 messages
Resolved
Correct generic types for nested objects 6 messages
Resolved
Determine discriminated union value type 7 messages
Resolved
'Object may be undefined', but it may not 18 messages
Open React
TSC broken on Ubuntu? 7 messages
Open
Need help with setting up modules in React TS Project 5 messages
Open React Tooling
Promise.all TSC errors 334 messages
Open
cursed self-referential mapped tuple type 8 messages
Open
Adding to an array while using subtypes and generics 8 messages
Resolved React
How to use OR in return 3 messages
Open Node
Shared typings for multiple project, need help using typeroots/paths 2 messages
Resolved
Value is always truthy, yet in practice it's not 12 messages
Resolved React
Problem with DateTime and Formik 3 messages
Open
Need help resolving a @typescript-eslint/no-misused-promises issue 4 messages
Resolved Node
How do I give a generic parameter a type? 16 messages
Open
Template literal type that contains any amount of specific characters 44 messages
Open
Unable to assign string to options 16 messages
Open
I don't understand Indexed access [number] 45 messages
Resolved
How do I save images locally in a React app? 45 messages
Open React
Parameters loses tuple value? 12 messages
Resolved
Type Known not nullable object property access 18 messages
Resolved
Conditional return type based on the existence of an attribute of a generic parameter 11 messages
Open
Need to Map the Overlay Key Type with its Props 3 messages
Open
Delete keys from an object that is typed with Omit 32 messages
Resolved
Typed strings from object keys using a generic template literal 23 messages
Open
How to use Generics with inner function return type? 8 messages
Open Node
How to clone object with custom loops? 6 messages
Open
Function that returns array of some values from an interface 55 messages
Open
Get only properties that have `?` - is this possible 18 messages
Open Tooling
Command not loaded 6 messages
Open
Literal type based on keys of objects in list 50 messages
Open
set TypeScript to compile keywords? 5 messages
Resolved Tooling
Record where value of key influences value 40 messages
Resolved
Uncaught TypeError: The specifier “socket.io-client” was a bare specifier, but was not remapped [..] 8 messages
Resolved
Constructor parameters that are both named and optional. Is it possible? 2 messages
Resolved
How to re-use a component and give it a different props type 6 messages
Resolved
Can't index a nested object inside of a generic object?? (Using maps) 61 messages
Resolved Tooling
Discriminated Union Help 20 messages
Open
Inference for generic types 61 messages
Open
Key names derived from dynamic keys 12 messages
Resolved
Issue inferring types from object intersection with optional properties 22 messages
Resolved
Is it possible to for a generic type guard to check for classes with a decorator applied? 6 messages
Open
How to override a default method argument with a new argument of a different type? 12 messages
Resolved