Skip to content

Types are not available for version v4.0.0-rc.2 in NPM #401

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

Closed
diavrank opened this issue Jul 31, 2024 · 2 comments
Closed

Types are not available for version v4.0.0-rc.2 in NPM #401

diavrank opened this issue Jul 31, 2024 · 2 comments
Labels

Comments

@diavrank
Copy link

Describe the bug

Hi, I am using alanning:[email protected] and everything is working well. just the types are missing on NPM @types/meteor-roles

To Reproduce

TS2551: Property createRoleAsync does not exist on type typeof Roles. Did you mean createRole

Expected behavior

No TS warnings should appear.

Versions (please complete the following information):

  • Meteor version: 3.0.1
  • Browser: Chrome
  • Version: v4.0.0-rc.2

Additional context

I tried:

"@types/meteor-roles": "4.0.0-alpha.2",
"@types/meteor-roles": "4.0.0-rc.2",
@diavrank diavrank added the bug label Jul 31, 2024
Copy link

Thank you for submitting this issue!

We, the Members of Meteor Community Packages take every issue seriously.
Our goal is to provide long-term lifecycles for packages and keep up
with the newest changes in Meteor and the overall NodeJs/JavaScript ecosystem.

However, we contribute to these packages mostly in our free time.
Therefore, we can't guarantee your issues to be solved within certain time.

If you think this issue is trivial to solve, don't hesitate to submit
a pull request, too! We will accompany you in the process with reviews and hints
on how to get development set up.

Please also consider sponsoring the maintainers of the package.
If you don't know who is currently maintaining this package, just leave a comment
and we'll let you know

@StorytellerCZ
Copy link
Member

Types have been moved into the package itself. Please use zodern:types to get them.

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

No branches or pull requests

2 participants