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

misc: use jsdoc-style comments on Flags properties #7359

Merged
merged 1 commit into from
Mar 4, 2019
Merged

Conversation

brendankenny
Copy link
Member

converts them to /** */ style so they appear on hover in vscode, etc

lanternDataOutputPath?: string;

// The following are given defaults in cli-flags, so are not optional like in Flags or SharedFlagsSettings.
Copy link
Member

@exterkamp exterkamp Mar 2, 2019

Choose a reason for hiding this comment

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

Should this also be /** */?

Or is it just // b/c it is a comment instead of an annotation for a single field?

Copy link
Member Author

Choose a reason for hiding this comment

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

Or is it just // b/c it is a comment instead of an annotation for a single field?

exactly. It's an explanation for why the properties below that point are different (those three properties also have doc strings from their base definitions in SharedFlagsSettings and Flags)

Copy link
Member

@exterkamp exterkamp left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

LGTM

@brendankenny brendankenny merged commit 5865c87 into master Mar 4, 2019
@brendankenny brendankenny deleted the jsdocflags branch March 4, 2019 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants