Update STYLE.md

Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan@haals.se>
This commit is contained in:
Johan Haals
2022-10-20 15:00:23 +02:00
committed by GitHub
parent bc957dab4a
commit 55e9cc03bb
+1 -1
View File
@@ -134,7 +134,7 @@ This section describes guidelines for designing public APIs. It can also be appl
}
```
1. Use options as arguments to functions and methods, rather than positional arguments.
1. When there is a significant number of arguments to a function or method, prefer to use a single options object as the argument, rather than many positional arguments.
```ts
// Bad