help-typescript

11339 threads · Page 206 of 227

Proxying a single object argument Record<string, any[]> to various functions preserving type safety 9 messages
Open
Type narrowing object keys 18 messages
Resolved
Detect class member initialization from nested call 10 messages
Resolved
Class method caches it's value while it shouldn't 3 messages
Open
.replace variables turning static 10 messages
Open Node
Infering partials from string literals 10 messages
Open
Union type with required property 17 messages
Resolved
Is it possible to write a type guard that checks a function signature? 3 messages
Resolved
Problem parsing a Json 6 messages
Open
What is the type of key? 10 messages
Resolved
compiler option to turn off error TS2339 `property ... does not exist on type` 3 messages
Resolved
What should be the type of Props passed to HTMLParagraphElement? 3 messages
Resolved React
Question about compiling, scripting and running 32 messages
Open Node
In an object containing objects, check if at least one of the nested objects fulfills a condition 4 messages
Resolved
Union objects with optional properties 29 messages
Resolved
How to get type support for class prop that might be null 9 messages
Open
About super() in classes 35 messages
Resolved
Generic function with rest parameters of different types - zipArray 15 messages
Resolved
fetch without async, get result 12 messages
Resolved
Types of fetched data 8 messages
Resolved
`Extract` in return based on arguments 5 messages
Resolved
Is it possible in TS to get the name of a property type, for use in another type? 13 messages
Open
When returning `this` in a method, casting it to its class with generic param changes causes TS7023 30 messages
Open
Type for numeric literals but not numeric expressions 30 messages
Open
Object with index signature and one known property is different with `satisfies` 11 messages
Resolved
Type of value is dependent on type of key 81 messages
Resolved
safe event emitter without any 5 messages
Resolved
Help with error handling 35 messages
Open
Make a type of numbers as the negative numbers 14 messages
Resolved
How to return value for entire function in nested Promise's? 102 messages
Resolved
Possible to use satisfies to define an array of various genericly typed objects? 22 messages
Open
type guards depending on a parameter value 32 messages
Open Tooling
Check property type of generic type which extends a type 15 messages
Open Node
Optional but required interface members? 15 messages
Resolved
Typescript installs fine but dosent work in vscode 8 messages
Open
Shared code in a MonoRepo 13 messages
Open
using indexed access types with generics 92 messages
Resolved
square brackets in type reference: ExtArgs['result']['aPIKey'] 6 messages
Open
Infer parent type 19 messages
Resolved
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 3 messages
Open React
Property 'category' does not exist on type 'RouteParam[]'.ts(2339) 161 messages
Open
PDF.js - change default download behaviour? 2 messages
Resolved Angular
Generate types declaration throw "cannot find module './logo.png'..." in a monorepo 4 messages
Open
Simple generics issue where a type is not assignable to another 11 messages
Resolved
Not allowing me to pass props because of IntrinsicAttributes 11 messages
Open
How to get console logs in typescript? 11 messages
Resolved Angular
Generic inference from Interface 40 messages
Resolved
Duplicated abortsignal declaration error 18 messages
Resolved
my bot does nothing 7 messages
Open
Convert Interface Object Into Array 8 messages
Open React Node