help-typescript

11339 threads · Page 201 of 227

error TS2307: Cannot find module 'fs' or its corresponding type declarations. 4 messages
Resolved
Assistance with HTTP Request Program 33 messages
Open
Brave Browser vs Front End Technologies 33 messages
Open Tooling
Conditional type based on function parameter 42 messages
Open
Set new typing according to the condition 3 messages
Resolved React
Typescript definitions for nested package exports 2 messages
Resolved React Node
New to typescript, compiler error: 2532 79 messages
Vue Resolved
Why does return []; in a function have a return type of never[]? 7 messages
Resolved
Is it possible to extend or merge declarations inferred from JavaScript? 10 messages
Open
never magic 21 messages
Resolved
Typescript 5.0.0 beta | const type parameters 20 messages
Resolved Node
node_module errors when running tsc 46 messages
Resolved
Unable to apply types when reading data from file 49 messages
Resolved Node
Is there a way to explicitly define a type guard's falsy type? 82 messages
Open
TypeScript thinks I have an any when type hints are telling me otherwise 21 messages
Resolved
Inference sometimes fails with Narrow type 25 messages
Resolved
Get specific type of property of dynamically generated class 4 messages
Resolved
Promise.all(object.map(async) 35 messages
Open
Is it possible to get the keys of an interface? 16 messages
Open
modify some type definitions from @types/module 14 messages
Open
how to make generics modify input type in a function 25 messages
Resolved
Extra parameters allowed on subclass method but not properties - why? 4 messages
Resolved
Override partial type of a class 12 messages
Resolved
Dependent type variables 8 messages
Resolved
Generics to determine when should a function throw or not 21 messages
Resolved Node
Recursive Unknown type in generic 2 messages
Open Tooling
[API] NamedDeclaration with no name? 19 messages
Resolved Tooling
Narrowed union should still satisfy original? 2 messages
Open
Keys to literal values 7 messages
Resolved
Array type syntax explanation 3 messages
Resolved
Could not find a declaration file for module 12 messages
Open
How can I know type of child class? 23 messages
Resolved Node
Unable to concatenate types after using Pick 192 messages
Open Angular
why am i getting this error `id does not exist on type IColumns` 2 messages
Open
Enum is being call a string but console.logged as an int and causing an error 4 messages
Open Node
Infer on the rest of the generic parameters 21 messages
Open
Assertions require the call target to be an identifier or qualified name. (2776) 17 messages
Open
What is this syntax: (shade: ...) => ReactNode | ReactNode 7 messages
Resolved
Branching function return objects being inferred incorrectly? 17 messages
Resolved
Non-empty Array Generic 25 messages
Resolved
Is it possible to reduce an object without any type suppressions? 15 messages
Resolved
Error message return Type? How to fix please? 44 messages
Resolved React
An interface with optional defined props + unlimited amount of unknown optional props 14 messages
Open
How to not include my config file in dist 10 messages
Open Node
How to implement isPropNotEmpty() type guard? 25 messages
Resolved
Why TS Config blocks global Native API types? 3 messages
Resolved
ts-node | 'Cannot find package' 6 messages
Open
Capture a subset of properties from an object 35 messages
Open
could be instantiated with a different subtype of constraint 15 messages
Resolved
How to properly use setItem, getItem and LocalStorage. 2 messages
Resolved React