File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const DEFAULT_IGNORES = /** @type {const} */ ([
6464export class TopBun {
6565 /** @type {string } */ #src = ''
6666 /** @type {string } */ #dest = ''
67- /** @type {CurrentOpts & { ignore: string[] } } */ opts
67+ /** @type {Readonly< CurrentOpts & { ignore: string[] }> } */ opts
6868 /** @type {FSWatcher? } */ #watcher = null
6969 /** @type {any? } */ #cpxWatcher = null
7070 /** @type {browserSync.BrowserSyncInstance? } */ #browserSyncServer = null
Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ import { ensureDest } from './helpers/ensure-dest.js'
4040
4141/**
4242 * @typedef TopBunOpts
43- * @property {string[]? } [ignore] - Array of file/folder patterns to ignore.
44- * @property {boolean? } [static=true] - Enable/disable static file processing
45- * @property {boolean? } [metafile=true] - Enable/disable the writing of the esbuild metadata file.
46- * @property {string[]? } [ignore=[]] - Array of ignore strings
47- * @property {string[]? } [target=[]] - Array of target strings to pass to esbuild
48- * @property {boolean? } [buildDrafts=false] - Build draft files with the published:false variable
43+ * @property {string[]|undefined } [ignore] - Array of file/folder patterns to ignore.
44+ * @property {boolean|undefined } [static=true] - Enable/disable static file processing
45+ * @property {boolean|undefined } [metafile=true] - Enable/disable the writing of the esbuild metadata file.
46+ * @property {string[]|undefined } [ignore=[]] - Array of ignore strings
47+ * @property {string[]|undefined } [target=[]] - Array of target strings to pass to esbuild
48+ * @property {boolean|undefined } [buildDrafts=false] - Build draft files with the published:false variable
4949 */
5050
5151/**
You can’t perform that action at this time.
0 commit comments