-
Notifications
You must be signed in to change notification settings - Fork 149
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
refactor(typescript): enable noImplicitAny #553
Conversation
Codecov Report
@@ Coverage Diff @@
## master #553 +/- ##
==========================================
+ Coverage 95.85% 95.86% +<.01%
==========================================
Files 24 24
Lines 1932 1933 +1
Branches 168 168
==========================================
+ Hits 1852 1853 +1
Misses 57 57
Partials 23 23
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #553 +/- ##
==========================================
- Coverage 95.85% 95.85% -0.01%
==========================================
Files 24 24
Lines 1932 1931 -1
Branches 168 168
==========================================
- Hits 1852 1851 -1
Misses 57 57
Partials 23 23
Continue to review full report at Codecov.
|
8f92627
to
3eef758
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
dev/src/index.ts
Outdated
* @param readTime An ISO-8601 formatted string indicating the time this | ||
* document was read. | ||
* @param encoding 'json' to indicate the format of `document` and `readTime`. | ||
* @returns The QueryDocumentSnapshot with the document's data. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hrm. Duplicating all the docs for each overload like this seems a bit verbose and likely to get out-of-sync over time. Was there a particular motivation? I don't feel strongly, so feel free to leave as-is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was mostly intended to get IntelliJ to stop warning me about missing docs for some of the arguments (since the overloads use different argument names). Since I wasn't 100% convinced of this when I did it, I removed this part of the changes. I did keep the overloads though.
This removes
no-implicit-any
from the SDK.Fixes: #525