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

TypeError when using ServiceSchema and moleculer v0.14.7 #28

Open
Jank1310 opened this issue Jun 3, 2020 · 0 comments
Open

TypeError when using ServiceSchema and moleculer v0.14.7 #28

Jank1310 opened this issue Jun 3, 2020 · 0 comments

Comments

@Jank1310
Copy link

Jank1310 commented Jun 3, 2020

Because of different moleculer type versions the following type error occours:

Type 'ActionSchema' is not assignable to type 'boolean | ActionSchema | ActionHandler<any>'.

Upgrading moleculer dependency to 0.14.7 solves this issue

Workaround: Add moleculer as peerDependency
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