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

feat: type all the things #1082

Merged
merged 4 commits into from Mar 27, 2018
Merged

feat: type all the things #1082

merged 4 commits into from Mar 27, 2018

Conversation

JustinBeckwith
Copy link
Contributor

This one is a doozy. This dramatically changes the way the generator works, but in a way that is backward compatible. We're now generating es6 classes and interfaces for all of the APIs. This paves the way for promise support, better d.ts support, and better documentation.

As a bonus, resolves #881

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 24, 2018
@@ -35,7 +35,7 @@ describe('GoogleApis#discover', () => {
localApis.splice(localApis.indexOf('index.js.map'), 1);

localApis.forEach((name) => {
assert(g2[name]);
assert(g2[name], `API '${name}' is not available on GoogleApis`);

This comment was marked as spam.

Copy link
Member

@alexander-fenster alexander-fenster left a comment

Choose a reason for hiding this comment

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

It's way too big to understand what's going on - hope it just works :)

@JustinBeckwith JustinBeckwith merged commit 0d79b4c into googleapis:master Mar 27, 2018
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.

Enable noImplicitThis on the tsconfig
3 participants