-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat(types): add types for the module configuration and api #37
Conversation
Codecov Report
@@ Coverage Diff @@
## master #37 +/- ##
=======================================
Coverage 92.06% 92.06%
=======================================
Files 5 5
Lines 567 567
=======================================
Hits 522 522
Misses 45 45 Continue to review full report at Codecov.
|
This was a bit pain to get right (typescript's extending of modules and ambient modules can be confusing) but I think I got it. Once this is done, I think we can release a new version. |
Let me know when you feel like it's ready to review and merge |
It's ready now. Thanks. |
@ezypeeze I believe I won't be able to trigger a new release since it requires permissions to push to master so feel free to make a release whenever you want. |
Released v4.3.0 & updated docs on gh-pages. Feel free to suggest a better way to publish new releases, you helping alot! |
This adds type for the
nuxtNeo
object innuxt.config
and for the$api
object that is available from different places. The latter is an empty interface that the user would have to extend himself. In the future maybe this could be auto-generated but probably not a trivial task.TODO: