help-typescript

11339 threads · Page 82 of 227

Why type of class prototype is the class itself? 13 messages
Open
React nested component, value possibly null 2 messages
Open React
Configure noTruncationMaximumTruncationLength 8 messages
Resolved
Nested object type with generic type => does not satisfy constraint 5 messages
Open
Inability to Call Union of Function Types with Differing Signatures in Generic Interface 15 messages
Open
Union issues? 12 messages
Open
Is it possible to infer a function with less arguments, but still typed? 15 messages
Resolved
tsconfig.json compilerOptions/paths 17 messages
Open React Tooling
Looking for configuration allowing list?.length > 0 style patterns 5 messages
Resolved
How to fix " Cannot invoke an object which is possibly "undefined" 11 messages
Resolved React
How to fix this identity function? 4 messages
Open
How to get an existing function's typing at runtime ? 59 messages
Open Tooling
map object into array of tuples? 7 messages
Open
Docker 2 messages
Open
Looking for a simplified syntax for safely assigning a value to an optional field 3 messages
Open
Interface : No overload matches this call... 2 messages
Open
`tsc` SO SLOW! How to typecheck faster? 61 messages
Open
Why second generic type not being inferred by related arg when explicitly set first generic type? 26 messages
Resolved
Any way to explicitly declare construct signatures for class constructor? 43 messages
Resolved
Unsafe argument of type `any` assigned to a parameter of type `[key: string, value: string, cookie?: 12 messages
Open
Why "is" check function doesnt let Typescript infer types w if? 15 messages
Open
What are your use cases for "advanced string" types? 10 messages
Resolved
cannot access optional property in `.map` 10 messages
Open
Solution for being unable to satisfy generic constraint with interface, when type works 4 messages
Resolved
`satisfies` breaks NextJS - why? 12 messages
Open React
Make property (or parameter) required based on Generic type 7 messages
Resolved Node
ERR_MODULE_NOT_FOUND in monorepo 6 messages
Open
Creating tuples from a constant object, to use as function arg names 3 messages
Open
--build --watch stale until touch 2 messages
Open
TS mapping object interface/type 7 messages
Open
Rollup not resolving separate packages 2 messages
Open
(TS 2556) Why am I recieving a type error on a spread argument that has already been explicitly type 4 messages
Open
Record<SingleKey, string> & Record<TupleKey, string[]> doesn't work as I'd want it to - workarounds? 7 messages
Resolved
infer generics conflicts 5 messages
Open
Type predicates 24 messages
Open
Typescript doesn't infer type properly? 23 messages
Resolved Tooling
Custom Array class with custom filtering function 3 messages
Open
Need to create a class declaration with reserved name `number` 8 messages
Resolved Node
How to map components and its prop types to an enum map? 7 messages
Resolved React
Unsure how best to organize my tests 5 messages
Open React Tooling
Why does this TypeScript 5.5 code not work? (Infer type predicates) 9 messages
How do I assign an index signature to an object literal while keeping the inferred type? 13 messages
Open
Object with key as one type and all other types as object 18 messages
Resolved
How to apply argument type when trying to get return type of function? 2 messages
Open
Adding functions for array of a given class 3 messages
Open
How to force given type to be record of value types of previous type values? 4 messages
Resolved
Satisfies vs Explicit Type? 2 messages
Open
How to Restrict a Union Literal Type to One of the Literal Type 5 messages
Resolved React Node
Cannot find module that is defined in tsconfig `paths` 13 messages
Open Node
Prevent generic object narrowing its properties to the default value 52 messages
Open