Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

feat: convert v3beta1 to TypeScript #389

Merged
merged 3 commits into from
Nov 22, 2019
Merged

Conversation

alexander-fenster
Copy link
Contributor

This PR converts the last part of the library, the v3beta1 API, to TypeScript. Also, making sure the common resources (such as location) are correctly processed for both v3 and v3beta1.

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

codecov bot commented Nov 21, 2019

Codecov Report

Merging #389 into master will decrease coverage by 2.01%.
The diff coverage is 90.76%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #389      +/-   ##
=========================================
- Coverage   95.92%   93.9%   -2.02%     
=========================================
  Files           6       6              
  Lines        3309    3399      +90     
  Branches       76     123      +47     
=========================================
+ Hits         3174    3192      +18     
- Misses        134     205      +71     
- Partials        1       2       +1
Impacted Files Coverage Δ
src/index.ts 100% <100%> (ø) ⬆️
src/v3beta1/index.ts 100% <100%> (ø)
src/v3/translation_service_client.ts 92.35% <86.3%> (-0.36%) ⬇️
src/v3beta1/translation_service_client.ts 92.45% <90.81%> (ø)

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 da755f3...69b54bd. Read the comment docs.

@@ -14,54 +14,34 @@
* limitations under the License.
*/

/**
Copy link
Contributor

Choose a reason for hiding this comment

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

So that's a problem, no? We have to expose the jsdoc for the still relevant v2 version of the API.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We do!
image

version=version)
s.copy(library, excludes=['README.md', 'package.json', 'src/index.ts'])
Copy link
Contributor

Choose a reason for hiding this comment

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

This is awesome

@alexander-fenster alexander-fenster merged commit 0a88c63 into master Nov 22, 2019
@alexander-fenster alexander-fenster deleted the complete-typescript branch November 22, 2019 07:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants