-
Notifications
You must be signed in to change notification settings - Fork 8
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
Types for OOjs & OOUI? #12
Comments
There are types for OOjs in npm from DefinitelyTyped. (@types/oojs) However, unfortunately, there aren't for OOUI. |
Types for OOUI are waiting for review at DefinitelyTyped/DefinitelyTyped#63675. EDIT: It has been published on npm at |
We can probably include |
@diskdance thanks for publishing the types for oojs/ui. However, I don't think this library should specify them as dependencies as OOUI is not used in the core JS interface which this library represents (as is the case with jQuery), and also as OOUI is on its way out and most user scripts and gadgets today are not using it anyway. I think they're better kept as separate libraries - much like |
Mentioned in #20. |
Update: they were eventually added as dependencies, via #33. |
Hi.
Gadgets interacting with users make use of OOUI and OOjs a lot, it would be nice if their types are added here. Are there any plans towards this? Thank you.
The text was updated successfully, but these errors were encountered: