I don't change too much with my Biome config... I can say that when I first started, the config options were really hard to figure out without examples, but I think the documentation has expanded since then. I don't know about your specific case.
I would probably defer to typescript annotations if you want to start setting arguments as optional for a constructor or given methods. I will usually assign a manual default if I want typed behavior. But that will involve adding the TS compiler in addition to Biome, which only partially checks TS.
Carefull with things like Array.prototype.forEach with built-in functions. forEach passes a asecond argument for the position within the array, this can have unexpected consequences, such as if you're passing parseInt, or another function that optionally accepts a second parameter.
An anonymous lambda is often the best option.
Was kind of hard to find the link back to the project site on github... It was under the install section, but an about section with license and the project identified would be good to have.
https://github.com/iDev-Games/Trig-JS
Have to admit, while I really like the idea of Server components, I'm not sure I'd use them on a public site with potentially a lot of users. I know that Vercel and other cloud options are based around the concept, it just feels like a lot of excessive server overhead IMO.
Not sure if this is AI created content... that said:
If you are creating a library or component that others will be able to use, or interacting with a team of developers on a product, you are better off with TypeScript. The additional context helps a lot with regards to utilization and intent from within most enhanced editors. This is very useful and will have less blocking and make it less necessary to slow down to lookup documentation. You can also use JSDoc, but that itself is sometimes more cumbersome than the TS type syntax.
Only if you are working by yourself on very basic or throw-away code should you prefer straight JS at this point.
This is just my take on this... I spent years pushing back against TS, as it never added much (for me), it's only when interacting with others or producing libraries or modules for others that the benefits become strikingly clear.