···5252 change it, it should not be a parameter at all
5353- avoid optional parameters that change behavioral modes or make the function do different things
5454 based on presence/absence; prefer a separate function with a clearer name instead
5555+- avoid type assertions (`as Type`, `as const`) unless TypeScript actually errors without them; when
5656+ it does error, prefer finding a solution that satisfies the type system naturally before resorting
5757+ to an assertion
55585659### documentation
5760