Skip to content

Commit

Permalink
fix: updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sofbe committed May 12, 2022
1 parent b165e4a commit 077902d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/internet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ export class Internet {
* @param options Options object.
* @param options.types A list of the HTTP status code types that should be used.
* @example
* faker.internet.statusCode() // '200'
* faker.internet.statusCode({ types: ['success', 'serverError'] }) // '400'
* faker.internet.statusCode() // 200
* faker.internet.statusCode({ types: ['success', 'serverError'] }) // 400
*/
statusCode(
options: { types?: ReadonlyArray<HTTPStatusCodeType> } = {}
Expand Down

0 comments on commit 077902d

Please sign in to comment.