help-typescript

11339 threads · Page 148 of 227

Error when trying to compile a file: Duplicate function "fetch" 7 messages
Resolved
Convert Typescript to Javascript on the Web 7 messages
Open
Object Index Signature Issue 5 messages
Open
How can I compile silently 9 messages
Resolved Tooling Node
How can I ensure that only the admin can route to the admin page? This is my code 7 messages
Open Vue
lazyinit typescript 35 messages
Resolved
How to export multiple things with types 2 messages
Open React
TypeScript issue in my Vscode @please help me 5 messages
Open
Private properties make class instance types incompatible 11 messages
Open
ts-patch transformer fails with watch mode, succeeds otherwise 6 messages
Open
Finding modules 34 messages
Open
Record with exactly one item 13 messages
Open
How to narrow discriminated union with generics? 3 messages
Is there a better way to write this function to check if a possibly null key exists in a dict? 22 messages
Resolved
Where to specify custom types? 25 messages
Open Node
What Dependency Injection container do you recommend, if any? 6 messages
Open Tooling Node
I want to statically type 'resolvable' paths in an object, index signatures break and tsc lags 14 messages
Resolved
Help understanding passing generics 12 messages
Open
vscode typescript errors 5 messages
Resolved Node
Got Not Accepting discord attachment URL 23 messages
Open Node
I wrote an MJS library with only JSDoc types. Why can't consumers see the types? 3 messages
Open Tooling
Why does TypeScript complain here? 10 messages
Open
is it possible to specify generic's argument in it's own property? 2 messages
Open
TaggedHeterogeneousMap (with value types inferred from tags) 4 messages
Open
Typescript force error when no type is specified 17 messages
Open
Why this error 15 messages
Resolved
import modules into custom namespace 18 messages
Open Tooling Node
How do I get project references to work with paths? 4 messages
Open Node
Using custom file extension module from dependency 109 messages
Open
Using `const` with generic rest parameters that extends a generic 22 messages
Resolved
Set up/mocking environment variables with jest. 5 messages
Open Tooling
Specify return type based on data.type 7 messages
Open Node
how to import json from assets? 20 messages
Open Angular
Transformers/TS API: Differentiate between shadowed interface/class within the default libs? 2 messages
Resolved
Generically Extract Data from Discriminated Union 6 messages
Resolved
"pluckProps" help with TS generics 16 messages
Resolved
is there a better way of converting class properties to object? 16 messages
Open
hw to get rid of null in object 5 messages
Resolved
What is the correct type for a class as a parameter for a function 10 messages
Open
How can I properly extend globalThis? 20 messages
Open
No-Unsafe-Call on Object.hasOwn 11 messages
Resolved React
Convert all optional fields of an existing object to non-optional 13 messages
Resolved
Algorithm Help 64 messages
Resolved
Index Signature Not found on Type 26 messages
Resolved
Check that a string, when split by a delimiter, is a valid path through an object 3 messages
Open
Is there a way to shorten this type? 8 messages
Resolved
TS says Invalid type "string | undefined" of template literal expression 😭 20 messages
Open React
Why doesn't this code work in generic function? 7 messages
Open
Lack of error on object properties using variables 85 messages
Open
How do i represent my json data stored locally on front end 5 messages
Open