And also fix the ESM export - let me know if you think this is a mistake! (#36 covers this in much more depth.)
There aren't any guards in place to stop someone changing the source JavaScript without updating the type definitions. In that respect, JSDoc might be a better solution.
And also fix the ESM export - let me know if you think this is a mistake! (#36 covers this in much more depth.)
There aren't any guards in place to stop someone changing the source JavaScript without updating the type definitions. In that respect, JSDoc might be a better solution.
Let me know what you think!