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(types): overload for bigtable.getInstances #579

Merged
merged 8 commits into from Dec 4, 2019

Conversation

laljikanjareeya
Copy link
Contributor

While accessing bigtable.getInstances with async function, it is giving error of return type.
Added overload and related document changes.

Fixes #564

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 14, 2019
@codecov
Copy link

codecov bot commented Nov 14, 2019

Codecov Report

Merging #579 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #579   +/-   ##
=======================================
  Coverage   87.24%   87.24%           
=======================================
  Files          33       33           
  Lines        2046     2046           
  Branches      373      374    +1     
=======================================
  Hits         1785     1785           
  Misses        233      233           
  Partials       28       28
Impacted Files Coverage Δ
src/index.ts 99.23% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98ae64e...22f6e9b. Read the comment docs.

src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
Copy link
Member

@jkwlui jkwlui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Types look good. Approved pending changes @callmehiphop suggested

@laljikanjareeya laljikanjareeya added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 26, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 26, 2019
@jkwlui jkwlui merged commit 91a07ba into googleapis:master Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getInstances type is incorrect: returns a Promise when callback is unspecified
6 participants