Skip to content

Commit

Permalink
style: update comments after flotwig
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Oct 4, 2021
1 parent fd163a9 commit 2279c3f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/lib/cypress.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const cypressModuleApi = {
},

/**
* provides automatic code completion for configuration in many popular code editors.
* Provides automatic code completion for configuration in many popular code editors.
* While it's not strictly necessary for Cypress to parse your configuration, we
* recommend wrapping your config object with `defineConfig()`
* @example
Expand Down
12 changes: 11 additions & 1 deletion cli/types/cypress-npm-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,17 @@ declare module 'cypress' {
cli: CypressCommandLine.CypressCliParser

/**
* Type helper to make writing `cypress.config.js` easier
* Provides automatic code completion for configuration in many popular code editors.
* While it's not strictly necessary for Cypress to parse your configuration, we
* recommend wrapping your config object with `defineConfig()`
* @example
* module.exports = defineConfig({
* viewportWith: 400
* })
*
* @see ../types/cypress-npm-api.d.ts
* @param {Cypress.ConfigOptions} config
* @returns {Cypress.ConfigOptions} the configuration passed in parameter
*/
defineConfig(config: Cypress.ConfigOptions): Cypress.ConfigOptions
}
Expand Down

0 comments on commit 2279c3f

Please sign in to comment.