help-typescript

11339 threads · Page 52 of 227

why for of is so fast that for? 6 messages
Open
Help me decipher the smell of this code 55 messages
Resolved Node
Not able to run Typescript file in Next.js 5 messages
Open Node
How to create a Typescript library in Visual Studio? 84 messages
Open React Tooling
Does TS can infer to the narrow type from wide type when Union 8 messages
Open
Jest Failing with "Cannot Use Import Statement Outside a Module" Error When Running ts-jest with ES 21 messages
Open Tooling
Why doesn't a NonNullable return type throw an error when possibly returning nullable fields? 22 messages
Open
How to check and use type defined by libraries. 8 messages
Open
const vs let with symbol assignment 7 messages
Open
how to make field decorators initializer work with `unkown` values, instead of `any` values? 16 messages
Open
Overwriting `process.platform` type 14 messages
Resolved Node
Unexpected lack of type narrowing for discriminated union 15 messages
Resolved
Why do we need typeof while applying keyof on enums? 4 messages
Open
How to check if something is an iterable or async generator 20 messages
Open
How to forward "Go to definition" to another type 15 messages
Open
Enum logic confusion from exploringjs.com book 11 messages
Open
Generating a type from a tuple of `name` and `type` 2 messages
Open
How to calculate vertices and edges (Catan Game)? 10 messages
Open Node
What does (value?: any): string; means? 6 messages
Open
What's up with this "is referenced directly or indirectly in its own initializer" type error? 6 messages
Open
Understanding how to organize common Types 57 messages
Open
array variable losing data? 26 messages
Resolved
Trying to make a new page.tsx but getting so many errors ... HELP ME! 4 messages
Open React
Trying and failing to import commonjs module from ES6 13 messages
Open
mapped typed issue 8 messages
Resolved
How to export and consume exported unique symbols? 7 messages
Resolved
Replicating mapped types in Zod/Generating a search schema from a Zod schema 28 messages
Open
Mapping a string array to keys of an object. 22 messages
Resolved
"Transpile" jsdoc 11 messages
Open Tooling Node
Losing const partially inferred generics 20 messages
Open
How to fix notation errors in external package files? 28 messages
Resolved
Check key exists in union 12 messages
Resolved
React context - type must have a symbol.iterator method that returns an iterator 18 messages
Resolved React
How to fix the index signature as it is throwing error from method defn? 15 messages
Open
Typescript vite project + cucumber testing 2 messages
Resolved Node
Inconsistent addEventListener typing 10 messages
Resolved
Best stack for a brand new typescript project for backend use 74 messages
Open
What is the actual difference between `import type { X }` and `import { type X }` ? 4 messages
Resolved
Function does not exist in object 12 messages
Open Angular
Displaying non-union fields in union types 6 messages
Open React
How to "Extract" a narrowed type from another type? 79 messages
Resolved
Extract a union from this type 2 messages
Open
Prevent reference error 25 messages
Open Node
Plug-able Interface/Object Pattern 17 messages
Open
Why is `x` `Builder<unknown>` instead of `Builder<{value: number}>`? 140 messages
Resolved
SyntaxError: Unexpected token ':' 2 messages
Open Node
Function union type resulting in never argument 13 messages
Resolved
Generic union of strings 10 messages
Open
Payable job 7 messages
Resolved
Extracting the ok state of an api response 82 messages
Open