The best way to get type saftey with composition functions is via overloading. This does impose a hard limit on the humber of functions that can be composed. In this case, the limit is 10. |
||
|---|---|---|
| src/lib | ||
| .gitignore | ||
| bun.lock | ||
| dprint.json | ||
| eslint.config.js | ||
| index.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||