help-typescript

11339 threads · Page 144 of 227

Exporting Types when publishing to NPM 30 messages
Open Node
Higher order function with Generics 8 messages
Resolved
Cannot read properties of undefined (reading 'map') 5 messages
Open Node
Comparing 2 arrays of objects 22 messages
Open Node
Map.set requires explicit value, even though undefined is accepted 26 messages
Open
return type based on parameter value 6 messages
Resolved
Typescript extends string type not working as expected 10 messages
Open
Code convention/best practices guide for function declarations 5 messages
Resolved
Routing/Type/Filter understanding. 22 messages
Open Angular
How to better infer types with union Types 20 messages
Open
Typescript doesn't see that I check for presence of a property in a separate method 6 messages
Resolved Node
type rest parameters is more than one element 11 messages
Resolved
Dynamically changing a type for a variable 12 messages
Resolved
Generic React Components with Union Types 13 messages
Open React
VSC Extension - Intellisense and theming 104 messages
Open Tooling Node
Weird behaviour with `this` keyword and generics 28 messages
Open
my enum is getting casted to int when pushing a value to a string[] 48 messages
Open
fn overload and fn arity 32 messages
Resolved Node
get my TypeScript code into the "dist" folder when transpiling with a well-defined folder structure 34 messages
Resolved Node
Expected string, received date 2 messages
whyy error 11 messages
Open
How do you type `req.body` in Express.js? 2 messages
Open
Is there a way to skip generic types? 2 messages
Open
How can I get the implementation signature of a function, instead of the last overload? 21 messages
Resolved
Reconstruct generic type when using Omit 15 messages
Open
How to make TypeScript throw when unwanted types passed? 21 messages
Resolved
Assert a variable has a specific union type 7 messages
Resolved
React-table - Type  ColumnDef<User, string>[]  is not assignable to type  ColumnDef<unknown, any>[] 2 messages
Open
creating a class with deletable internal methods 69 messages
Open
what's the best way to type this? Using react-three-fiber. 2 messages
Open
How to pass component useState components to children components in navigation bottom tab ? 25 messages
Open React
How to define a type that echos it's index string? 44 messages
Open
Create a type that can have any fields, but can be extended to have/not have any fields 8 messages
Open Node
Constrained Return Type 11 messages
Resolved Tooling Node
error 16 messages
Open
Set a conditional type for a property based on const | string on another property 10 messages
Open
Help with function with get request 13 messages
Resolved
No error when changing readonly property 9 messages
Resolved
what type of error is this 23 messages
Open
Narrowing lookup object using union type 5 messages
Open
TS compiled to browser. Can I read files pre-compile? 23 messages
Open
Does anyone know how to define an index signature that will never return undefined? 3 messages
Open
Integer type 7 messages
Open Tooling
EISDIR Error 9 messages
Open
Disable scroll 4 messages
Open
Hi, im a begginer in typescript and writing a code in typescript and kinda got into a small problem. 14 messages
Resolved
Simple VSCode Extension 23 messages
Open
My Footer seems to go farther down than desired 8 messages
Node
Create method signature type only for specific combinations 25 messages
Open
Generics help (is this possible) 4 messages
Open