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

Make service optional in App.use #3205

Closed
wants to merge 1 commit into from

Conversation

FossPrime
Copy link
Member

@FossPrime FossPrime commented Jun 3, 2023

I'm not sure why this isn't being caught automatically... but we should definitely not skipLibCheck on things we control. If we depend on something with bad TS... perhaps we shouldn't.

skipLibCheck should remain the default for userland of course.

Screenshot 2023-06-03 11 35 28

https://github.com/feathersjs/feathers-chat/blob/dove/feathers-chat-ts/src/app.ts#LL22C40-L22C40
https://stackblitz.com/edit/node-tnne2i?file=app.ts%3AL46

@daffl
Copy link
Member

daffl commented Jun 7, 2023

The middleware extensions are added by the Koa module but looking at the warning, it looks like it'll require the esModuleInterop: true TypeScript setting.

@FossPrime FossPrime closed this Jun 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants