help-typescript

11339 threads · Page 55 of 227

Adding own methods to String class 3 messages
Open
Prevent calling toString 6 messages
Resolved
executing python from ts 2 messages
Open
Why can't I empty an array inside of an object? 11 messages
Resolved Angular
Object literal may only specify known properties, and 'twitch_id' does not exist in type 'SessionDat 2 messages
Resolved Node
How to restructure an object into another object efficiently? 9 messages
Open
React Draggable 3 messages
Open
Wrapping constructors correctly without losing types 15 messages
Open
Dynamically Convert to another Type 8 messages
Open
Import JSON `as const`? 4 messages
Resolved
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 6 messages
Open
Set generic of type retrieved via bracket notation 2 messages
Open
Type inference in switch statement based on Enum 9 messages
Resolved
Return type not being valid 105 messages
Open
Type Declaration File: How do I make it without a wildcard? 11 messages
Open
provide users on my NPM package with additional d.ts file 3 messages
Open
Type-level pattern match & type narrowing 21 messages
Open
1/4 .ts files missing d.ts file after `tsc` 10 messages
Resolved
TypeScript public API: How to check if `SourceFile` diagnostics should be ignored? 14 messages
Open
Making all fields of a destructured object public by marking the destructured object public 78 messages
Resolved Node
Union losing members when inferred as return type 6 messages
Resolved
Empty abstract class matches every type 12 messages
Open
Struggling with typing of multiple generics and inferring 7 messages
Open
last 2 numbers of guild/userid get switched for some reason, and its consistent every time 33 messages
Open Node
How to map typed objects to keys 12 messages
Open
[Solved] Possible to use both absolute and relative path on auto import? 15 messages
Resolved Tooling
undefined is not an object 2 messages
Open
Adding `default` export in module augmentation 16 messages
Resolved Node
Union type narrowing incorrectly 8 messages
Open
Type for dynamic return type (object) with one dynamic key 16 messages
Resolved
Define class functions programatically 13 messages
Open
dont know how to narrow down a string field to literal string 9 messages
Open
Data form and table missing when I add an attribute 12 messages
Open React
Problem events discordjs 12 messages
Open Node
vscode auto import quick fixes not working for dev dependency, but working for dependency 2 messages
Open
Does TS honor Tagged Types from imported package? (seems not) 49 messages
Open Tooling
How to add ".js" in imported file after Typescript compilation ? 3 messages
Open
Why does intersection of object types not make union of same-name properties? 24 messages
Open
Why is Typescript yelling at me? 45 messages
Resolved
Object not accessable 97 messages
Resolved Node
Vite websocket takes a long time to load depending on "typeof" usage. 24 messages
Open Vue Tooling
"No overload matches this call." when using `fastify-socket.io` 44 messages
Resolved Node
variable of type "never" using inferred type from an object. 10 messages
Open
class with ctor + static values + globally accessible 5 messages
Resolved
Publishing with augmented dep modules 5 messages
Open Tooling
Get HTML element tag name from React onClick event 6 messages
Resolved React
Property 'duration' does not exist on type 10 messages
Open
Type 'JsonValue | undefined' is not assignable to type 'string | undefined'. 20 messages
Open
this reference is not working 9 messages
Resolved
Flattening Zod union of objects 162 messages
Resolved