Closed phryneas closed 1 year ago
Latest commit: ad5340fbd82d781bf477a3f5dae41a3f89efd04a
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Oh, sorry! I had only run tsc
in the package folder and assumed that would be enough to catch everything.
I already finished up for the day - I'll get back to this and fix up the rest tomorrow.
Okay, next turn in the CI :)
Generally, these are hard to catch, since they don't turn up in the repo itself (which has strict: false
), but only if used in other projects (as the CI does) with a different tsconfig
and skipLibChecks: false
.
Let's hope I did get all usages now.
I didn't turn on strict: true
for the repo since that results in a big batch of unrelated strictNullCheck
-caused errors, but personally I would really want to encourage you to make that change in the future, since this might reoccur - consuming projects with a more strict tsconfig and skipLibChecks: false
might run into issues with this. (Also, strict: true
is how the TS team intends TS to be used)
100% agree we must switch to strict typescript as soon as possible. I was not aware we were not strict yet.
Looks like it's al green now :) Yay!
Thank you taking the time to fix this :heart:
to accommodate an upstream type change in @apollo/client@3.7.6
This addresses https://github.com/kamilkisiela/apollo-angular/issues/1907
Checklist: