Skip to content

Commit 1d104e2

Browse files
Felix Beceicjtomic-croz
Felix Beceic
authored andcommitted
Update JSDoc
1 parent 00dc692 commit 1d104e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/data-display/src/FileBrowser.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ type FileBrowserProps<T extends File> = {
8787
/**
8888
* Fetches the list of files from a directory asynchronously.
8989
* @param {T} directory - The directory from which to fetch files.
90-
* @param {T[]} [currentPath] - The current path of the directory, for context purposes (optional).
90+
* @param {T[]} [currentPath] - The current path of the directory (excluding the `directory` parameter), for context purposes (optional).
9191
* @returns {Promise<T[]>} A promise that resolves to an array of files in the directory.
9292
*/
9393
fetchDirectory: (directory: T, currentPath?: T[]) => Promise<T[]>;

0 commit comments

Comments
 (0)