help-typescript

11339 threads · Page 116 of 227

Tanstack Query's useInfiniteQuery in React Typescript 9 messages
Open React
Mapping Object Properties to Discriminated Union 15 messages
Open
How to separate string in an intersection type? 8 messages
Resolved
Mimicing the functionality of Array.filter with type predicate 7 messages
Resolved
property `isLoading` does not exist 2 messages
Resolved
After checking to see if property exists, TS still says it could be null 14 messages
Resolved Node
Current hour not incrementing or decrementing as expected 18 messages
Resolved
the z.ZodObject doesn't work to verify the json 32 messages
Open
Impossible to use Discriminating Union + Spread Operator 30 messages
Open React
Make typescript know which type to use based off on another one 15 messages
Resolved
Tokenising errors in `node_modules` when running `tsc` 5 messages
Resolved
How to check property types in object 8 messages
Open
In a method, can I refer to the current instance if I have defined a different type for `this`? 31 messages
Open
What rollup plugin is recommended for bundling declaration files? 18 messages
Open Tooling Node
ipcRenderer is not working 5 messages
Resolved Node
What is the current testing idiom or framework being used. Is it still Jest? 12 messages
Resolved
Why do triple slash references fail when referencing parent directories? 7 messages
Open
Clean Code - Uncle Bob (Code review please) 118 messages
Resolved Node
TS2339: Property  filter  does not exist on type  () => void 5 messages
Resolved React
basic button id doesn't work with querySelector 5 messages
Resolved Node
Type switch based on generic prefix? 18 messages
Open Node
Object with different types based on keys using string interpolation 11 messages
Open Tooling
Deep non null type 19 messages
Resolved
Conditionally build a JSON object 2 messages
Open
moduleResolution bundler, and declaration 6 messages
Open
React and Typescript errors 2 messages
Open React
Using 8 messages
Resolved
Union of object types and properties mix up. 10 messages
Resolved Node
Re-declaring Express.js Application/Router types to add a generic path argument? 6 messages
Resolved
Typing an upload form without doing assertion 14 messages
Resolved
TypeError: Cannot read properties of null 5 messages
Resolved
How to add the correct type to JavaScript functions in following code 28 messages
Open
Generic type works independently but not in function parameters 14 messages
Resolved
Type Error when trying to update a state 13 messages
Open React
Do I need an interface to use a string as a generic object's key type? 7 messages
Open
Resolved generics when passed through functions? 4 messages
Open
types: ['vite/client'] clobbering @types/colab 9 messages
Open Tooling
How do I merge all d.ts files in node_modules into a single .d.ts file? 4 messages
Open
How do I type the export of a dynamic import? 2 messages
Open
How to type Await/async fetch request from an API? 4 messages
Open
Inner Values in Typescript 5 messages
Open
Turning on tsconfig "paths" option makes a weird directory structure in "dist" 62 messages
Open
How to write a wrapper function for a template expression function? 21 messages
Resolved
Copying function type, while omitting function params? 7 messages
Open
TS18048: 'authenticatedUser.value' is possibly 'undefined'. 16 messages
Open
cannot narrow down return type of generic without having to pass 2 sets of generic arguments 11 messages
Open
what does the @operator do? 6 messages
Open
Help with types on higher order functions that expose extra data to the function passed in 2 messages
Open Node
Making a type that allows all possible values within an object regardless of the nesting 16 messages
Resolved
"Type 'ExecutorFn' is not generic." It seems like it is to me? 4 messages
Open