help-typescript

11339 threads · Page 120 of 227

Type is not a valid async function type in ES5/ES3 because it does not refer to a Promise-compati... 6 messages
Open
I need some help implementing some kind of type guard 7 messages
Open
Exact return type depending on input parameter type 97 messages
Open Node
How can I enforce only the required properties of a type? 10 messages
Open
Force treat file as a global script 14 messages
Resolved Tooling
missing type when looping over union 4 messages
Open
I can't understand nested `this` on functions 13 messages
Open Node
Inferring generics with contextual typing. 159 messages
Open
How to assign different typescript versions to typescript plugins 10 messages
Resolved Tooling
Error enum cannot be used as a value because it was exported using 'export type' 9 messages
Resolved
Is it possible to generate types when calling an "init" function? 7 messages
Resolved
Creating a `pipe()` function that performs function composition 17 messages
Open
how to include .ini in /dist 3 messages
Resolved Node
Type that is either has properties or empty object 2 messages
Open React
How to infer an object type. 2 messages
Open Tooling
Use legacy JavaScript libraries in Typescript with `allowsJs` directive disabled 27 messages
Vue Resolved Tooling
can we type the interface like the object should either have a value or b ? 4 messages
Open React
Is it possible to strip away never parameter 11 messages
Resolved
Could not find a declaration for module './components/WallClock' 11 messages
Open React Node
Validating a type assertion 18 messages
Resolved
Type inference from conditionals 29 messages
Open
what are these type errors T_T 44 messages
Open
How do you declare the type of an arrow function ? 6 messages
Open
return not working in server actions beta 25 messages
Resolved
Union type 44 messages
Open
Node -> Browser friendly package? 7 messages
Open Tooling Node
Type assertion not working as expected 27 messages
Function that receives an array of keys an produces correct reduced object 7 messages
Open
coping value between files 6 messages
Resolved React
How to get better autocomplete suggestion from VS Code? 8 messages
Resolved Tooling
Cannot use TS-tests anymore with moduleResolutio="Bundler" 12 messages
Open
Types inference not working as expected, is it a bug in typescript? 21 messages
Open
how would I setup a macro to auto move my mouse and click 3 messages
Resolved
Assert fields are defined on an object generically 67 messages
Open
noob error 7 messages
Open
Dynamically type callback type based on key which corresponds to the key of another interface 3 messages
Open React
Avoiding checking for something that has already been checked 2 messages
Open
"Layered" index files imports fail to evaluate 34 messages
Open React
Auto format functions from const a = ()=>{} to function(){} 4 messages
Open Tooling
Why and when would I want to use a Record over a typed object/map? 7 messages
Open
foo:undefined vs not specified in discriminated union 4 messages
Open
Merging types with rest parameter 5 messages
Open
Type 'string' is not assignable to type 'never'.ts (2322)(parameter) size: never 6 messages
Resolved React
Define existence of Dynamic Class Properties without a property definition on the class 3 messages
Resolved
Typescript Interface find breaking change 16 messages
Open Tooling
Function parameters - extending interface parameter 4 messages
Resolved
Type correctly function as value or proxy 5 messages
Open
How to get typed class in js from ts definition 14 messages
Open
How do I *not* "flatten" a Type 5 messages
Resolved
How do I make it so a property determines the type of another property (& why doesnt my way work) 27 messages
Open