Skip to content

Commit

Permalink
docs: update jsdocs for inferEntries (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbapapazes authored Oct 30, 2023
1 parent a9bd0fe commit fa3cabb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/auto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ export const autoPreset = definePreset(() => {

/**
* @param {PackageJson} pkg The contents of a package.json file to serve as the source for inferred entries.
* @param {string | string[]} source The root directory of the project.
* - if string, `<source>/src` will be scanned for possible source files.
* - if an array of source files, these will be used directly instead of accessing fs.
* @param {string[]} sourceFiles A list of source files to use for inferring entries.
* @param {string | undefined} rootDir The root directory of the project.
*/
export function inferEntries(
pkg: PackageJson,
Expand Down

0 comments on commit fa3cabb

Please sign in to comment.