i can enforce the fix size of array by doing following:
another way to write this is like this, but i prefer Array because it’s more intiutive
+
or -
allows control over the mapped type modifier (?
or readonly
). -?
means must be all present, aka it removes optionality (?
Required only one:
RequiredAtLeastOne:
Omit is for removing specific property from object
Exclude is for removing specific type from union type