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

automatically create constructor jsdoc in template #32

Open
zavr-1 opened this issue Dec 19, 2019 · 0 comments
Open

automatically create constructor jsdoc in template #32

zavr-1 opened this issue Dec 19, 2019 · 0 comments

Comments

@zavr-1
Copy link
Contributor

zavr-1 commented Dec 19, 2019

const { _Cookies, connect, express, _Keygrip } = require('./cookies')

/**
 * The interface for Cookies: signed and unsigned cookies based on Keygrip.
 * @type {new (req: !http.IncomingMessage, res: !http.ServerResponse, opts: !_goa.CookiesOptions) => Cookies}
 */
const $Cookies = _Cookies

/**
 * Signing and verifying data (such as cookies or URLs) through a rotating credential system.
 * @type {new (keys: !Array<string>, algorithm?: string, encoding?: string) => Keygrip}
 */
const $Keygrip = _Keygrip
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

No branches or pull requests

1 participant