Skip to content

"settings" lacks a return type annotation #271

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

Closed
laurenzlong opened this issue Jul 17, 2018 · 0 comments
Closed

"settings" lacks a return type annotation #271

laurenzlong opened this issue Jul 17, 2018 · 0 comments
Assignees
Labels
api: firestore Issues related to the googleapis/nodejs-firestore API. 🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@laurenzlong
Copy link

Thanks for stopping by to let us know something could be better!

Please run down the following list and make sure you've tried the usual "quick
fixes":

If you are still having issues, please be sure to include as much information as
possible:

Environment details

  • OS: OS X
  • Node.js version: 6.11.5
  • npm version: 3.10.10
  • @google-cloud/firestore version: 0.15.2

Steps to reproduce

firestore.settings({ timestampsInSnapshots: true })

Running "tsc" produces the error:

node_modules/@google-cloud/firestore/types/firestore.d.ts(105,5): error TS7010: 'settings', which lacks return-type annotation, implicitly has an 'any' return type

I was able to make this go away by changing my tsconfig.json to have "noImplicityAny: false", but it would be great if I didn't have to do this.

@google-cloud-label-sync google-cloud-label-sync bot added the api: firestore Issues related to the googleapis/nodejs-firestore API. label Jan 31, 2020
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/nodejs-firestore API. 🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants