Hacker News new | ask | show | jobs
by FractalHQ 708 days ago
Does this really have no types? How can something like this be usable in 2024 with no types?
2 comments

Not everybody cares about, uses or wants to use typescript.
Sure but as a library author, your audience is greatly diminished if you don’t provide some typings in 2024. More than half the professional Javascript programmers use Typescript these days.
Thank you for your feedback. Every target in TargetJ has an onEnabled method that can be used to verify types before enabling the target. Only enabled targets will run. You can have targets report errors during initialization if they receive the wrong type.