File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ export class BaseClient {
337337 /**
338338 * Get all objects directly below a given path.
339339 *
340- * @param path - Path to the folder. Must end in a forward slash.
340+ * @param path - (optional) Path to the folder. Must end in a forward slash.
341341 * @param maxAge - (optional) Either `false` or the maximum age of cached
342342 * objects in milliseconds. See [caching logic for read
343343 * operations](#caching-logic-for-read-operations).
@@ -392,7 +392,7 @@ export class BaseClient {
392392 *
393393 */
394394 // TODO add real return type
395- async getAll ( path : string , maxAge ?: false | number ) : Promise < unknown > {
395+ async getAll ( path ? : string , maxAge ?: false | number ) : Promise < unknown > {
396396 if ( typeof path !== 'string' ) { path = '' ; }
397397 else if ( path . length > 0 && ! isFolder ( path ) ) {
398398 return Promise . reject ( "Not a folder: " + path ) ;
You can’t perform that action at this time.
0 commit comments