help-typescript

11339 threads · Page 112 of 227

`@typedef` and indexed types 7 messages
Open
Why is my function not assignable to my type? 49 messages
Open React
Get all values of provided key in circular types 5 messages
Open
nodenext resolution failures (again) 18 messages
Open
In a class, is there a way to make a class property accessible to methods without `this.`? 6 messages
Resolved
Unable to index typeof import() using generic 20 messages
Resolved
Enforce T extends Class 4 messages
Resolved
Is it possible for typescript to reduce a string literal from a generic based on a negation? 6 messages
Open
Generic Factory 13 messages
Resolved
Tuple discriminant as an object property 10 messages
Open
A help with interfaces 8 messages
Resolved
Why number | string resolves to never? 12 messages
Resolved
A spread argument must either have a tuple type or be passed to a rest parameter. 71 messages
Open
Control flow TS 4 messages
Open
VS Code Intellisense not working on any TS files 5 messages
Resolved Tooling
ts-jest getting confused with my built files 2 messages
Resolved Node
Is it posssible to create a type that infers from the file system? 3 messages
Resolved
Ts component 12 messages
Open
Narrow a type to the exhaustive type union of its values without const assertion 10 messages
Open
TypeScript losing not-undefined type narrowing in <Array>.some 7 messages
Resolved Node
How to solve "Type instantiation is excessively deep and possibly infinite." 7 messages
Open
why doesn't ts complain about an incompatible string literal? 7 messages
Open
"Property 'threads' does not exist on type 'GuildChannel'" 2 messages
Open Node
Narrowing Mapped Type 6 messages
Resolved
Type narrowing in complex (?) type doesn't work 3 messages
Resolved
env not enving??? 16 messages
Resolved Node
Cant index an interface but i think i got the write type 17 messages
Resolved
How do I make this `number | undefined` error go away? 44 messages
Resolved React Node
templating engine for outputting typescript 53 messages
Resolved
Progressive migrate from JS to TS. Use import only in one file 9 messages
Open Node
What's the signifincanc of using "{} extends T ? ..." 16 messages
Open
Pick vs Extract & Omit vs Exclude 4 messages
Resolved
ReferenceError: Can't find variable: Logger 18 messages
Open
How to launch an existing project? 22 messages
Resolved
Constraint argument P to key of type T, where T[P] extends Array<any> 5 messages
Open
copy all overload signatures like with Paramaters<> 12 messages
Resolved
Is using a helper function safer than using a type assertion? 172 messages
Open
Extending the content of a class' properties (inner level inheritance?) 6 messages
Open
Type Narrowing 17 messages
Resolved
Problems with a Narrowed type. 4 messages
Open
Narrow type of Map? 5 messages
Open Node
Generic Types 4 messages
Open Node
What's the correct way to type all classes that implement an interface? 11 messages
Resolved Node
Vscode generates both ts and typescript-eslint errors for the same problem twice. Is this necessary? 9 messages
Open React Tooling
How to make plain JS mixin work with abstract and non-abstract classes in TS? 112 messages
Open
Mixins are too difficult. How is someone supposed to make a mixin for HTMLElement base classes? 17 messages
Resolved
Need help with inferring a higher-order component 17 messages
Open React
array.filter() remove undefined in type 32 messages
Open
Are Typscript Resources Useful to a Office Script Pleb? 3 messages
Open Node
Object is possibly 'undefined'.ts(2532) 12 messages
Open