help-typescript

11339 threads · Page 20 of 227

Return type based on the return type of another getter? 11 messages
Resolved
Casting to a function that has generic parameters 11 messages
Resolved Deno Node
Error while deploying react-typescript project on Vercel 15 messages
Open
I cannot use paddlejs 5 messages
Resolved Node
How to do generics so that TS complains if the generic component does not support `data-` attributes 37 messages
Resolved React
is there a way to make single attributes optional? 6 messages
Open
Can't infer when type is string union 10 messages
Open
How to correctly emit type declarations when working with multiple TS files? 18 messages
Resolved Tooling
an type error about overload that I didn't expect it would throw 8 messages
Open Deno
How to set return type depending on param type 21 messages
Resolved React
Structured Language Handling in TypeScript 9 messages
Resolved
How to debug "has or is using private identifier"? 3 messages
Resolved
Is there a nice way of using types as values? 7 messages
Resolved
Design issue React Component 30 messages
Open React
Trouble with type checking and imported functions 31 messages
Open Node
Best practives working with union type inference 8 messages
Resolved
How to make TS server suggest auto-import of an "side-effect import"? 18 messages
Open
Indexing a type with known keys with a variable of type string 13 messages
Open Tooling Node
Checking types at run time 7 messages
Open
Is it possible for ts to infer the generic type from an interface: 4 messages
Open
conditional interface and default values 15 messages
Open
Alternatives to `types` tsconfig option 17 messages
Resolved
Jest: function called twice; failing toHaveBeenCalledTimes() 4 messages
Open
Curious why typescript thinks this could be anything other than a string 5 messages
Open
How can I get this program to typecheck? 113 messages
Resolved
trying to use @ import but ts show me error 2 messages
Resolved
Why are there two types of 'never' in conditional types? 9 messages
Open
Set if absent or undefined 13 messages
Resolved
Implementation signatures of overloads are not externally visible? 23 messages
Open
why isnt there a dist folder being created? 4 messages
Resolved
Adding samples to library package 7 messages
Open
Error: The requested module <some module> a CommonJS module error 13 messages
Open
Type Checking Question - Expected Error Not Occurring with Partial<> 8 messages
Resolved
Trying to upgrade to Vite6 with sveltekit. Type errors. 12 messages
Open
Type 'string | number' is not assignable to type 'never'. 4 messages
Open
Is it wrong to override static methods 12 messages
Resolved
Extensible parameters of method via generics 23 messages
Resolved
How to avoid circular recursion 2 messages
Open
i dont understand $var:apikey 15 messages
Open Node
TS2307: Cannot find module '~shared/types' or its corresponding type declarations. 7 messages
Open
Jest: Having trouble mocking class functions from imported modules 11 messages
Resolved
Callback return type not inferred to be used in generic method 123 messages
Resolved
How do I reference a static class's member's type? 4 messages
Open
Type guard issue : Any better way to implement this . . . ? 11 messages
Open Node
How can I get TS to infer this type? 5 messages
Resolved
Type or Interface 4 messages
Open
Possible ts-ignore bug? 11 messages
Open
Resolve return type erroring: Cannot read properties of undefined (reading 'valueDeclaration') 2 messages
Open Tooling
Express with TS server won't start and gives no readable error 9 messages
Resolved Node
Why does TS gives error ? 4 messages
Resolved