help-typescript

11339 threads · Page 27 of 227

Component Object interface augmentation 2 messages
Open
Wrapping repeating code in a function loses type-safety 15 messages
Resolved Node
Compile only the import tree, not the entire directory 55 messages
Resolved
Struggling with typescript exercise problem. 12 messages
Open Node
How would you extend process.stdin type to include fs.readSync type? 84 messages
Open Node
Angular Developer Opportunity 10 messages
Open Angular
Fibonacci sequence using recursion 64 messages
Open
How to infer an interface implemented by class? 8 messages
Resolved
Narrow correlated generic types 24 messages
Open
How do i access property of an object whose type is a union of two object types 12 messages
Resolved React
Merging namespace members across modules 130 messages
Open
Manually specify one type parameter and infer the other one in a class 10 messages
Open
Why is x not narrowed here? 43 messages
Resolved
InstanceType with TypedArrays? 35 messages
Resolved
How to extend AssemblyScript's wasi-shim read() to have the same signature as node:fs readSync()? 3 messages
Open
Function return type 41 messages
Open Node
Sharing modules between a tsc app and `node --experimental-strip-types` app? 15 messages
Open
Output type changes when function argument is inlined 11 messages
Resolved
Type inference through React context 13 messages
Open
type 'typeof' does not satisfy the constrain '(..args: any): any' 27 messages
Resolved Node
Referencing other parameters in a generic function parameter? Hidden infer-only generic parameters? 18 messages
Open
Using ts-morph to get the return type of the default export 6 messages
Open
How to get ReturnType of function with specific generic parameter provided? 3 messages
Resolved
Using a class methods parameters as a generic type 38 messages
Open
Wait until true or timeout 3 messages
Open Node
Do I still need to import {type TypeName} if im exporting all types as types from a file? 18 messages
Open
Type conversion (camel to underscore) 3 messages
Resolved
Unable to debug TS7022 14 messages
Open
Static methods of a class used in subclasses 49 messages
Open
Compiler Help wanted: Is there an overview of the TypeScript source code base. 5 messages
Open
Why doesn't TypeScript throw an error in this case? 2 messages
Open
How to add background to this code using canvas 23 messages
Open
Took correct method overloads depending on first param 22 messages
Open
Specify generic inside object argument 12 messages
Open
Override, that is smart! 57 messages
Resolved
How to type a parent `div` or `button` based on onClick property 11 messages
Resolved React
How to emit `*.mjs` if the ts file is just `*.ts` using tsc 34 messages
Resolved
Typing return value for a conditional type 18 messages
Open
Generic interface doesn't narrow function parameter 8 messages
Open
tsc loading node_modules on build 27 messages
Open
how should i declare this? 4 messages
Resolved
How to allow a combination of type + any string? 5 messages
Open
Installation errors 8 messages
Open
In typescripts, what's the definition of a "global file"? 48 messages
Open
Can I get a compiler error if I import a nonexistent css file? 13 messages
Resolved Node
Infer tRPC query input 36 messages
Open
How to make a child move inside its parent component? 8 messages
Open
Is there a way to narrow types to exclude a ReadonlyArray with an `if` check? 5 messages
Open
Learning Advice 8 messages
Open Vue React Node
How do I convert function parameters into an object type? 14 messages
Resolved