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

Fix type issues with Typescript 4 #16

Merged
merged 2 commits into from
Sep 28, 2021
Merged

Conversation

FossPrime
Copy link
Contributor

The catch blocks have some "new" syntax we need to adhere to: microsoft/TypeScript#36775

As of Feathers 4, the request and response body are actually of type any, but we have to specify that explicitly.

We can probably get rid of this // @ts-ignore now.

I also went ahead and fixed some other type issues with strategy.ts
Type 'SamlStrategy' has no properties in common with type AuthenticationBase.
https://stackoverflow.com/questions/46449237/type-x-has-no-properties-in-common-with-type-y

The catch blocks have some "new" syntax we need to adhere to: microsoft/TypeScript#36775

As of Feathers 4, the request and response body are actually of type any, but we have to specify that explicitly.

We can probably get rid of this `// @ts-ignore` now.
@rlunden rlunden merged commit eb84e30 into winteragency:master Sep 28, 2021
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