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

Upgrade to 5.0 beta #2282

Closed
anyban opened this issue Mar 31, 2021 · 1 comment · Fixed by #2284
Closed

Upgrade to 5.0 beta #2282

anyban opened this issue Mar 31, 2021 · 1 comment · Fixed by #2284

Comments

@anyban
Copy link

anyban commented Mar 31, 2021

info: Feathers application started on localhost:3030
ERROR in node_modules/@feathersjs/transport-commons/src/client.ts:69:5
TS2322: Type 'string[] | undefined' is not assignable to type 'string[]'.
Type 'undefined' is not assignable to type 'string[]'.
67 |
68 | constructor (options: ServiceOptions) {

69 | this.events = options.events;
| ^^^^^^^^^^^
70 | this.path = options.name;
71 | this.connection = options.connection;
72 | this.method = options.method;

@anyban anyban changed the title Update to 5.0 beta Upgrade to 5.0 beta Mar 31, 2021
@daffl
Copy link
Member

daffl commented Mar 31, 2021

What are you trying to import here?

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