Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic command exception types lack safety for the number of arguments #19

Open
haykam821 opened this issue Feb 7, 2024 · 0 comments

Comments

@haykam821
Copy link
Contributor

While dynamic command exception types already lack type safety (using Object/any as arguments instead of using type parameters), this library differs from Brigadier by not having multiple classes for the number of arguments needed. As a result, making a mistake in supplying the wrong number of arguments is easy, as there is no guarantee that the error will be caught by the TypeScript compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant