You are setting TypeScript default values incorrectly...
Generic CallBack with Default Value | TypeScript
Default & Optional Parameters | TypeScript Tutorial
Optional and default parameters in Typescript
Building Robust React Apps with TypeScript! #greymatterz #react #typescript
#14 - Optional & Default Function Parameters in TypeScript
Default Parameters in TypeScript
DRY up your generic signatures with DEFAULT GENERICS - Advanced TypeScript
TypeScript Tutorial For Beginners 06 - Default Prams Values
React Hook Form Tutorial - 12 - Default Values
TypeScript Basics | 08 Optional and Default Parameters
Typescript for Beginners - Default Values - Lesson 9
TypeScript interface default value when a property is a function type for useContext hooks
Clean Code - Optional Parameters and Default Values #typescript #cleancode #programming
Javascript Argument List and Default Values in Functions
Stop using default values on non-nullable properties, use required instead | #shorts
Here is a safer way to default variables in Javascript #shorts
Part 9 - TypeScript - Function Basics (Required, Optional, And Default Parameters)
DevTips Daily: How to add functions into TypeScript interfaces / types