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

#349 - added docs comments #357

Closed
wants to merge 1 commit into from
Closed

Conversation

rahgurung
Copy link

@rahgurung rahgurung commented Feb 20, 2019

Fixes #349 Added docs TS/JS comments


IssueHunt Summary

IssueHunt has been backed by the following sponsors. Become a sponsor

@rahgurung
Copy link
Author

Following the build log, removing those two lines from test, is causing further tests to fail.

@rahgurung
Copy link
Author

Found same error in different PR build log , #356 @sindresorhus

@rahgurung
Copy link
Author

@sindresorhus

@sindresorhus
Copy link
Owner

Include all the text from the options in the readme, not just the first sentence. Also document the methods and include a code example.

password?: string;

/**
* Scale webpage number times.
Copy link
Owner

Choose a reason for hiding this comment

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

This is not a valid sentence.

options?: Options;
}

/**
* Set the destination directory.
Copy link
Owner

Choose a reason for hiding this comment

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

This comment is not correct. The type is the destination directory.

* Delay capturing the screenshot (seconds).
*
* @default 0
*/
Copy link
Owner

Choose a reason for hiding this comment

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

cookies?: (string | {[key: string]: string})[];

/**
* Define a customized filename using Lo-Dash templates.
Copy link
Owner

Choose a reason for hiding this comment

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

The readme contains a lot more info that is missing here.

@sindresorhus
Copy link
Owner

Following the build log, removing those two lines from test, is causing further tests to fail.

Rebase from master branch. There are no failures there.

@rahgurung
Copy link
Author

rahgurung commented Mar 25, 2019

Include all the text from the options in the readme, not just the first sentence. Also document the methods and include a code example.

how should I add type, for example, Type: number (seconds)

should be written as same with <br> and backticks ? @sindresorhus

@sindresorhus
Copy link
Owner

It's documented in https://github.com/sindresorhus/typescript-definition-style-guide which is linked to from the issue.

@sindresorhus
Copy link
Owner

Ping

@rahgurung
Copy link
Author

rahgurung commented Jul 14, 2019

Sorry for inactivity, Can I continue this work, please?

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.

Add docs comments
2 participants