You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSDoc says that options is required, and that the properties of the options object are also required. Those properties need to be wrapped in square brackets to indicate that they're optional.
The JSDoc comments drive code intelligence in editors. Without flagging the arg and props as optional, editors will flag omissions as an error.
* @param {Object} [options] Any filesystem options.
* @param {boolean} [options.createCwd] Create a directory for `process.cwd()`
* (defaults to `true`).
* @param {boolean} [options.createTmp] Create a directory for `os.tmpdir()`
* (defaults to `true`)
The text was updated successfully, but these errors were encountered:
https://github.com/tschaub/mock-fs/blob/master/lib/index.js#L118-L126
The JSDoc says that options is required, and that the properties of the options object are also required. Those properties need to be wrapped in square brackets to indicate that they're optional.
The JSDoc comments drive code intelligence in editors. Without flagging the arg and props as optional, editors will flag omissions as an error.
The text was updated successfully, but these errors were encountered: