Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

tune up configuration types#300

Merged
ofrobots merged 4 commits intogoogleapis:masterfrom
ofrobots:config-types
Jul 7, 2017
Merged

tune up configuration types#300
ofrobots merged 4 commits intogoogleapis:masterfrom
ofrobots:config-types

Conversation

@ofrobots
Copy link
Copy Markdown
Contributor

@ofrobots ofrobots commented Jul 6, 2017

  • Get rid of jsdoc types from comments – not needed now that we TS types. Not entirely sure yet how jsdoc documentation generator handles ts, but we shall find out.
  • Proper inheritance for Auth options.
  • Fix some TODOs

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 6, 2017
@ofrobots ofrobots requested a review from DominicKramer July 6, 2017 03:17
Copy link
Copy Markdown
Contributor

@DominicKramer DominicKramer left a comment

Choose a reason for hiding this comment

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

What about the other types of annotations in JSDoc comments such as specifying a constructor, marking something as const, etc. I don't think those are needed now either.

src/debug.ts Outdated
@@ -43,7 +43,7 @@ export class Debug extends common.Service {
*
* @param {object} options - [Configuration object](#/docs)

This comment was marked as spam.

This comment was marked as spam.

src/index.ts Outdated
@@ -27,7 +26,6 @@ let debuglet: Debuglet;
* with Stackdriver Debug.
*
* @param {object=} options - Options

This comment was marked as spam.

This comment was marked as spam.

Copy link
Copy Markdown
Contributor

@DominicKramer DominicKramer left a comment

Choose a reason for hiding this comment

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

LGTM w/comment.

src/index.ts Outdated
throw new Error('Debug Agent has already been started');
}

// TODO: Determine how to remove this cast to `AuthOptions`.

This comment was marked as spam.

This comment was marked as spam.

@ofrobots ofrobots merged commit 2d07105 into googleapis:master Jul 7, 2017
@ofrobots ofrobots deleted the config-types branch July 7, 2017 17:21
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.

3 participants