help-typescript

11339 threads · Page 56 of 227

How do I write my `declare global` so this implementation compiles? 2 messages
Open
How to share types between two different projects 10 messages
Open React
How to make a type where if you have a certain key then you can't have another key 23 messages
Open Node
How to make a switch type 71 messages
Resolved Node
How to narrow return type from argument 11 messages
Resolved
Build suddenly not adding non-ts files to my build directory 48 messages
Resolved Node
Cannot import anything from @types/tedious 16 messages
Open Node
Argument of type 'string' is not assignable to parameter of type 'never'.ts(2345) 5 messages
Open
unknow interaction 9 messages
Open Node
Contravariance issue 11 messages
Open
Make interface properties extend JSONObject while still keeping the properties inferred as literals 102 messages
Resolved
Optional type inference. Why? 3 messages
Resolved
Function input conditional object keys based on value of other keys 4 messages
Open
Index signature issues 9 messages
Open React
Is this a good pattern for error handling on my project ? 17 messages
Open
TypeScript gets a stroke after moving an interface 13 messages
Resolved
How does `npm` install dependencies for local packages? 12 messages
Resolved
Cant figure out function overloads 2 messages
Open
Union discriminated on object 4 messages
Open
Possible malicious library 14 messages
Type predictions with classes 8 messages
Open
How to update array in app.tsx from a component.tsx? 3 messages
Open
how to remap tuple elements to another type? 24 messages
Open
Auto Restart index.ts script 2 messages
Open Node
complex type for game dialogs 9 messages
Resolved
Need help 'flattening' API response 208 messages
Resolved React
Framer-motion element appears multiple times 2 messages
Open
[typescript-eslint] Prevent objects in parameter type declaration 21 messages
Resolved Tooling
Help/Rant over bad implementation of AsyncIterators 6 messages
Open
where do i start 😭 how do i run the typescript file i have no idea 114 messages
Resolved
Strange behavior with Template Literal Type Inference 27 messages
Resolved
Help with `get-nested-value-from-object` function 6 messages
Open
Autocomplete Mui 14 messages
Open React
Union wrangling 15 messages
Open
Recursive transform issue 5 messages
Open
Are all files without exports global? 10 messages
Resolved
Help With conditional types 12 messages
Resolved
TS compiler API Identifier bug? 10 messages
Open
Type narrowing properties based on another property in a class 13 messages
Open
VS Code code refractor 19 messages
Open Tooling
Can't find module unless specified with absolute path. 6 messages
Open
How can I change the value of a variable each time a function is ran 7 messages
Resolved
TypeError: Cannot read properties of undefined (reading 'User') 11 messages
Open
Object is a assignable to string 9 messages
Resolved
Add 2nd constraint to generic parameter 7 messages
Resolved
Generic with union not the same as Union of generic 37 messages
Open
How do i narrow types? 20 messages
Resolved React
Extending Distribution Behavior 3 messages
Resolved
Adding a method to an exisiting class 31 messages
Resolved Node
narrow down object based on property 5 messages
Resolved