help-typescript

11339 threads · Page 22 of 227

Does it possible to get a const arraylike's length in type? 14 messages
Open
Can valid TypeScript types for two property names be used to perform walks into a two-level object? 10 messages
Resolved
Can't use a CJS/ESM library via import in CommonJS project 44 messages
Resolved
Need Help with TypeScript + Node.js Backend (ESM + ts-node) 76 messages
Open
Typescript file handeling (Svelte compatible) 2 messages
Open
how to recursively define a multidimensional array 26 messages
Resolved
How to Determine at Runtime Whether a Function's Return Value is undefined? 4 messages
Open Tooling Node
Why doesn't Typescript understand `this` is a type of `BaseClass`? 12 messages
Open Node
DriverJs TypeScript Support 3 messages
Open
confused about type checking 6 messages
Resolved
Typing a plugin for an abstract component 2 messages
Open
Unique Array challenge 36 messages
Open
Can you mutate an object's type based on one of its properties? 8 messages
Resolved Node
How to do type checking of a function? Trying to write an EventBus with multiple types of Events. 57 messages
Resolved
Buffer.from with union type - BROKEN 5 messages
Open
Type completion broken for generics in functions? 3 messages
Open
Why can't I pass `b?` into a class overload that accepts `b` in one sig and `undefined` in the other 28 messages
Resolved
Having issues with tailwindcss/colors 4 messages
Open React Node
Code execution stops when calling certain functions 79 messages
Resolved
Expanding Functionality of Existing TypeScript based MaskEditor 4 messages
Open
Regarding TypeScript Version Support End Dates 5 messages
Resolved
Understanding the error behind ts(2739) when passing object as prop for a component. 35 messages
Resolved React
Get a 'bound'/'intermediate' type, under which an expression type was bound to a contextual type. 2 messages
Resolved Tooling
How to fix `TS2307: Cannot find module 'FILE_PATH' or its corresponding type declarations` 12 messages
Open
Website status page issue 😭 6 messages
Open Node
"Dynamic" sync/async function type? 24 messages
Resolved Node
TS2345 when narrowing conditional types 37 messages
Resolved
How does TS compiler transform constructor parameters to class properties? 5 messages
Open
Overload matching on union type 12 messages
Open
tsconfig: How to prevent traversing parent node_modules? 11 messages
Open Tooling
Importing rollup bundle via script tag? 72 messages
Resolved Tooling Node
How can I get compile-time enforcement of defining upgrade specs? 38 messages
Open
Conditional (nested) properties based on generic or other config 2 messages
Open
How come we can spread a tuple but we cannot do the same thing with object types? 12 messages
Open
`ts-match` unable to infer types properly 2 messages
Resolved
err instanceof Error ? 'shortMessage' in err ? err.shortMessage 14 messages
Open
How to limit KeyOf Object to only Array properties? 9 messages
Resolved
Can't add more to interface after putting code in library 11 messages
Open
TypeScript TS2339 for `mock` on Node.js native test runner 10 messages
Resolved
TypeScript Compilation Issue: Absolute Imports Not Resolving in Compiled Code 4 messages
Resolved
My buttons aren't buttoning? 4 messages
Resolved
Constrain arguments based on other arguments? 30 messages
Open
Namespace is not defined 6 messages
Open
ts2742 in pnpm 4 messages
Open React Tooling
typescript eslint disable console.warn messages 6 messages
Open
Need help getting code base running. 15 messages
Open React
Type 'keyof TConfig' cannot be used to index type 'TValues' (when it can) 5 messages
Open
Infer union instead of first item 22 messages
Open
Type not being inferred with prefixed object keys 11 messages
Open
Why Does TypeScript Complain About Returning undefined in a Generic Function? 8 messages
Open Node