@@ -33,8 +33,8 @@ export class Folder {
3333 * Creates a new instance of Folder.
3434 *
3535 * @param {string } folderPath
36- * @param {boolean } mockedValues
37- * @param {boolean } isCopy
36+ * @param {boolean } [ mockedValues]
37+ * @param {boolean } [ isCopy]
3838 * @return {Folder }
3939 */
4040 constructor ( folderPath , mockedValues = false , isCopy = false ) {
@@ -168,7 +168,7 @@ export class Folder {
168168 * Get sub files of folder.
169169 *
170170 * @param {Folder[] } folders
171- * @param {string? } pattern
171+ * @param {string } [ pattern]
172172 * @return {File[] }
173173 */
174174 static #getSubFiles( folders , pattern ) {
@@ -200,7 +200,7 @@ export class Folder {
200200 *
201201 * @param {Folder } folder
202202 * @param {boolean } recursive
203- * @param {string? } pattern
203+ * @param {string } [ pattern]
204204 * @return {Folder[] }
205205 */
206206 static #getSubFolders( folder , recursive , pattern ) {
@@ -294,7 +294,7 @@ export class Folder {
294294 * withSub?: boolean,
295295 * withFileContent?: boolean,
296296 * isInternalLoad?: boolean,
297- * }? } options
297+ * }} [ options]
298298 * @return {Folder }
299299 */
300300 loadSync ( options ) {
@@ -341,7 +341,7 @@ export class Folder {
341341 * withSub?: boolean,
342342 * withFileContent?: boolean,
343343 * isInternalLoad?: boolean,
344- * }? } options
344+ * }} [ options]
345345 * @return {Promise<Folder> }
346346 */
347347 async load ( options ) {
@@ -433,7 +433,7 @@ export class Folder {
433433 * withSub?: boolean,
434434 * withFileContent?: boolean,
435435 * mockedValues?: boolean
436- * }? } options
436+ * }} [ options]
437437 * @return {Folder }
438438 */
439439 copySync ( path , options ) {
@@ -481,7 +481,7 @@ export class Folder {
481481 * withSub?: boolean,
482482 * withFileContent?: boolean,
483483 * mockedValues?: boolean
484- * }? } options
484+ * }} [ options]
485485 * @return {Promise<Folder> }
486486 */
487487 async copy ( path , options ) {
@@ -533,7 +533,7 @@ export class Folder {
533533 * withSub?: boolean,
534534 * withFileContent?: boolean,
535535 * mockedValues?: boolean
536- * }? } options
536+ * }} [ options]
537537 * @return {Folder }
538538 */
539539 moveSync ( path , options ) {
@@ -583,7 +583,7 @@ export class Folder {
583583 * withSub?: boolean,
584584 * withFileContent?: boolean,
585585 * mockedValues?: boolean
586- * }? } options
586+ * }} [ options]
587587 * @return {Promise<Folder> }
588588 */
589589 async move ( path , options ) {
@@ -632,8 +632,8 @@ export class Folder {
632632 /**
633633 * Get all the files of folder using glob pattern.
634634 *
635- * @param {string? } pattern
636- * @param {boolean? } recursive
635+ * @param {string } [ pattern]
636+ * @param {boolean } [ recursive]
637637 * @return {File[] }
638638 */
639639 getFilesByPattern ( pattern , recursive = false ) {
@@ -665,8 +665,8 @@ export class Folder {
665665 /**
666666 * Get all the folders of folder using glob pattern.
667667 *
668- * @param {string? } pattern
669- * @param {boolean? } recursive
668+ * @param {string } [ pattern]
669+ * @param {boolean } [ recursive]
670670 * @return {Folder[] }
671671 */
672672 getFoldersByPattern ( pattern , recursive = false ) {
0 commit comments