help-typescript
Array.includes for checking if given value is within a subset?
Open
Regex catch html elements in string
Resolved
Node
Map a function over the leaves of a nested object
Open
get an array of types within a type
Resolved
Node
Minimize main-thread work: optimizing DOM rendering (1000+ spans)
Open
Problems with types
Open
having trouble typing this code
Open
Node
Type '(event: MouseEvent) => void' is not assignable to type 'EventListener'. Types of parameters
Open
React
Omit reduces stict typing
Resolved
Initialise variables on all test files in jest
Open
Method to check if object type has a required key?
Open
I don't understand this circular constraint error.
Open
Struggling with accessing `this` scoped variables in abstract base class
Open
Node
tsc not creating the dist/ folder
Resolved
Is there a way to make my code more modular?
Open
Assigning to object using Object.keys().forEach
Open
Deep Partial which is nice to arrays
Open
Why function returns 'never' type
Open
What does this 3 functions mean (difference)
Resolved
what does this error mean
Resolved
How to "convert" void to undefined, maybe with a type guard?
Open
How to export Nextjs server renderable tsc components
Open
React
Why doesn't the ?? operator narrow the type used on the left-hand side?
Resolved
Ensuring a POJO has exactly and only expected properties
Resolved
Pick<Type, Key> Nest key's object
Resolved
React
Node
Typing for sql
Open
Variable has type any while it's defined.
Open
Node
Overloading signatures where both signatures only have two arguments
Open
Check for property to exist
Open
Cannot find name 'structuredClone'.ts(2304)
Resolved
ESLint issue: Error: require() of ES Module strip-ansi\index.js from stylish.js not supported.
Open
Node
How to use Partial as a builder?
Resolved
If I create an interface for an object with methods, do I have to explicitly type them again?
Open
Node
TypeScript fails to figure out the equality of two generic types
Resolved
why this error
Resolved
.
Open
Reduce cognitive complexity by removing a useless null check
Open
Wrapping generics approaches
Open
Issue with configuring typescript
Open
Node
How to narrow string to keyof Object
Resolved
Inheritance with zod interfaces and classes
Open
(pt. 2) using constrained identity functions with classes
Resolved
TS complains "property is possibly 'undefined'" in jest test
Open
Nulls not removed after checking `!` and throwing
Resolved
Object.assign with object array target and object array source
Open
Node
type assertion
Open
Looking to share type definitions across multiple TS projects, all inside one monorepo
Vue
Resolved
Node
Narrowing the return type of a function based off of a dynamic parameter from the caller function
Open
Can you type check a TS file without emitting it, but emit all other TS files?
Resolved
TypeScript with local storage
Resolved
React