Skip to content

Commit

Permalink
Fix incorrect undefineds in internal type
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 20, 2023
1 parent ed25e2d commit d61fa74
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
*
* @typedef Context
* Processing context.
* @property {FileSet | undefined} fileSet
* @property {FileSet} fileSet
* Internally used info.
* @property {Array<VFile> | undefined} files
* @property {Array<VFile>} files
* Processed files.
*
* @typedef Options
Expand Down Expand Up @@ -119,7 +119,7 @@
* @property {VFileReporter | string | undefined} [reporter]
* Reporter to use (default: `'vfile-reporter'`); if a `string` is passed,
* it’s loaded from `cwd`, and `'vfile-reporter-'` can be omitted
* @property {VFileReporterOptions | undefined} [reporterOptions]
* @property {VFileReporterKnownFields & {[key: string]: unknown} | undefined} [reporterOptions]
* Config to pass to the used reporter (optional).
* @property {UnifiedSettings | undefined} [settings]
* Configuration for the parser and compiler of the processor (optional).
Expand Down Expand Up @@ -190,13 +190,10 @@
* for unknown fields in options and async support.
* @param {Array<VFile>} files
* Files.
* @param {VFileReporterOptions} options
* @param {VFileReporterKnownFields & {[key: string]: unknown}} options
* Configuration.
* @returns {Promise<string> | string}
* Report.
*
* @typedef {VFileReporterKnownFields & {[key: string]: unknown}} VFileReporterOptions
* Configuration.
*/

import process from 'node:process'
Expand Down

0 comments on commit d61fa74

Please sign in to comment.