help-typescript

11339 threads · Page 80 of 227

Type mismatch in interface key 9 messages
Open React
What is the type of `as const`? 10 messages
Open
Two object types with same keys but different property types 17 messages
Open
Coherent types in two properties 2 messages
Open
not being able to infer the type correctly in universal table. 3 messages
Resolved React
Automatically modifying type in project using "declare module" from packages in node_modules 2 messages
Open React
conditional function return typing 6 messages
Open
How to make a Self-Referencing Type for an object key 10 messages
Resolved Node
Reusable Input Component with Formik's useField hook 6 messages
Resolved React
Is it possible to take an object and create a type *from* that object so that the type must match? 6 messages
Open
Anybody that can make this typescript-code run? 6 messages
Open Node
Adding an intersection causes weird behaviour 3 messages
Open
How to query using input from Input form by website to prisma? 170 messages
Open React Node
Mapping the record containing overloaded functions 5 messages
Open
compiler 7 messages
Open Node
How to use an interface with an arrow function when object value is a generic? 11 messages
Open
Why TS collapses Error return type? 4 messages
Resolved
Infer object type from key 33 messages
Resolved
Cannot find module when importing a const, but can find it to import an interface 11 messages
Resolved Node
Converting Array Class to Object 13 messages
Resolved
How to extract only keys of functions? 4 messages
Open
Type guard on class property 14 messages
Resolved
How do I find the logic in the tsc code that throws TS2209 ? 4 messages
Resolved Tooling Node
Inferring overloads through an extra function 8 messages
Open
Ignore empty types in type merge 4 messages
Open
Is "Node16" the same as "NodeNext"? 5 messages
Resolved
Weird error at writing a complex type 7 messages
Resolved
How to declare callable function property for existing API in d.ts file? 4 messages
Resolved
Declaration merging seemingly not working 256 messages
Open Node
Difference between TypeScript Interface and JavaScript Classes 27 messages
Resolved
ESM Import Issues with Top Level Await 20 messages
Resolved Node
Call children's function from component? 2 messages
Open React
Higher order null check 6 messages
Resolved
Conditional type of `get` util 14 messages
Resolved
A class decorator expects 1 argument and abstract function parameters having "any" type 17 messages
Resolved
Not assignable to type never 4 messages
Resolved
More questions on using a discriminant as a key 25 messages
Resolved
how to emit `<reference types="..."/>` with rollup 73 messages
Open Tooling
Why does TypeScript see the types as "any" in this scenario? 48 messages
Resolved
Moving on on strict lib by lib 3 messages
Open Angular
Discriminated union that checks that union T extends a certain type not that it IS that type? 31 messages
Resolved
Is it possible to correctly type a chain of functions? 32 messages
Open
Help needed pinpointing and addressing a type error 15 messages
Open
How to make an animation happen everytime I click on a div that has the animation? 2 messages
Open Angular
Type narrowing in catch-all event listener 14 messages
Open
Import package from Github fail 2 messages
Open
Interface must have its keys satisfy string 173 messages
Resolved
trying to delete a product from my shopping cart 4 messages
Open Angular
Can't you have strict:true and verbatimModuleSyntax:false at the same time? 14 messages
Resolved
How can I tell whether my recursive types are guaranteed to work? 3 messages
Open