help-typescript

11339 threads · Page 162 of 227

Help silencing errors in a type-safe curry? 11 messages
Resolved
Improving code that doesn't allow extra keys in an object 55 messages
Open
Type hint if property exists in instance 9 messages
Vue Resolved
Get union types of interface/classes implementations 6 messages
Open
How can I make an instance of a class that returns a Proxy in constructor to have correct inference? 9 messages
Resolved
How do I get the max value in a union? 4 messages
Resolved
help narrow type 5 messages
Open
How should I get the correct type hints in vscode in this case 5 messages
Open Vue
How do I enforce all types given to <T extends [...args: any]>? 23 messages
Resolved
How do I fix this error in vscode? 142 messages
Open
subsection of typed object as args to function 4 messages
Resolved
Type check cross all files in a project, not just the current opened file 3 messages
Open
Union type to enum 15 messages
Resolved
valueOf is defined, typescript says cant use "+" operator 11 messages
Open
VerbatimModuleSyntax question 7 messages
Open
Type interence 3 messages
Resolved
TSC generating invalid ESM imports 58 messages
Open React Tooling
const generic modifier in function return type position 10 messages
Open
Override React declation's namespace type with my own 7 messages
Open React
Listener Generic 12 messages
Open
ComponentProps vs ComponentPropsWithRef vs ComponentPropsWithoutRef 12 messages
Open React
How to fix this conditional type? 14 messages
Open
How to have 'string' | string in TS 12 messages
Resolved
Get union type definition of all function overloads 13 messages
Resolved
how correctly assign a key to object from ternary condition 9 messages
Open
How to check if type is `readonly`? 4 messages
Open
how i could fix the ts2322 error 15 messages
Open React
NextJS, Typescript and HTML 15 messages
Open
String is not assignable to type, I just want to tell TS that the type is in fact correct 13 messages
Resolved
How to infer discriminated unions inside an object of object? 35 messages
Open
Function params as values of enum 16 messages
Resolved
Unable to Get Real Type from Global Declaration in TypeScript Project References 4 messages
Resolved
import type definitions, so that it's not included in the compiled .js? 44 messages
Resolved
Conditional type based on other prop 6 messages
Resolved
How to test a v5 decorator? 42 messages
Open
Illegal return statement 5 messages
Open
typescript doesn't understand this function will return 51 messages
Open
I'm doing tsc -w and I am not getting anything in my console 12 messages
Open
I have some lines if code which I don't understand. Can somebody explain me and hel to fix this? 10 messages
Open Angular
type overlap 39 messages
Resolved
How to implement this function in a type safe way 12 messages
Open
Struggling with getting a dynamic type of a given function with generic returns type 19 messages
Open
a "minimum" type for fuctions/objects 8 messages
Open
Filter sum types based on property 20 messages
Resolved
Namespaces and variables type checking 10 messages
Open Tooling
Help with Axios 7 messages
Open Node
Extend const array of objects 5 messages
Resolved
Time unit template literal type 23 messages
Open
exports is not defined 6 messages
Open
Redefine global types per directory 8 messages
Open Node