help-typescript

11339 threads · Page 25 of 227

Make a config passed as parameter of a function strongly typed 13 messages
Resolved
I need help with href 60 messages
Open React
prevent generation of .d.ts files (using project references) 31 messages
Open Node
Enforcing excess property checks on function interface 63 messages
Open
Filtering array with discriminated union? 21 messages
Resolved
get type properly in function 32 messages
Resolved Node
Type mismatch with type indexed lookups 9 messages
Open
Is there an easy way to add extra properties to certain members of a discriminated union? 14 messages
Open
Create an object type whose keys are built from the values of the "key" prop of a tuple 39 messages
Open
Self-referencing a union of constrained classes through an extendable interface 3 messages
Open
Handling Complex Pluralization in TypeScript Using Template Literal Types 4 messages
Open React Node
Simple typescript function 14 messages
Open
Resolving as Any instead of object 65 messages
Open React
How to condition data from webhook event 2 messages
Open Node
IDE performance and isolatedDeclarations 7 messages
Open
dynamic property access based on type? 26 messages
Open
Compute overlapping keys between two types 5 messages
Resolved React
How to infer 2 generics correctly ? 23 messages
Resolved React Tooling
How to infer error instance from error classes for builtins like TypeError. 27 messages
Open
Strange inferred types from generic parameters 16 messages
Open
Static analyser not working for variable of `typeof` 10 messages
Open
defaultProps is not working 5 messages
Open React
Encountering problems while using VS Code for development 76 messages
Open Tooling
I'm building a translation system that uses simply POJOs and strings. Initially I created this type: 79 messages
Open
How to dynamically change input type in a class method 20 messages
Open
How to implement websockets for multiple clients? 23 messages
Open React Node
Problem Inheriting Methods and Properties from class 29 messages
Resolved
Properly type a util that converts object arrays to records 29 messages
Open
How you keep JWT authorization secure? 9 messages
Open
library design: a concise way to delegate `Error` variant of `Result` union while keeping type info 19 messages
Resolved
Intellisense behaves differently on Windows than it does on Mac OS 25 messages
Open React
Is there a way to declare the last argument type of my `replace` function as named groups? 11 messages
Open
pnpm -g i @types/bun: reference to this type without making config files 6 messages
Resolved
Infer func signatures of object's values based on existence of property 49 messages
Open Node
Typescript project references in Nextjs app 3 messages
Open
Failing to import types from a cjs/mjs node module 38 messages
Open
Where to find information about when to use OOP? 14 messages
Open
Escaping error that triggers only in the Playground 34 messages
Resolved
TypeScript ESLint Error: Unsafe call of a(n) `error` type typed value 3 messages
Open
node_modules is still scanned despite being excluded and skipLibCheck is set to true 68 messages
Open
How to do a unique key array type 36 messages
Resolved
Intellisense errors in VueJS 3 project 17 messages
Open Vue
Import Suggestions Order in VSCode 2 messages
Open React Tooling
How to use `this` keyword on customized properties on `Object`? 15 messages
Open
Accessing const object value by unknown key? 13 messages
Resolved
Template is extending union of types, but can't be inserted into state of the same union type. 15 messages
Open React
My first complex type! 20 messages
Resolved
What EventEmitter for cross platform libs? 26 messages
Resolved Deno Node Tooling
Automatic JSDoc to TypeScript conversion 5 messages
Open Tooling Node
RunRepeatedly - decorator 2 messages
Resolved Deno Node