Skip to content

Commit 5124902

Browse files
committed
revert: keep |null in whitelist/blacklist JSDoc to match .d.ts and runtime
1 parent c6a49f0 commit 5124902

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/builder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,8 @@ const makeRevision = function (path, hash) {
639639
* Builds filter txt file from directory contents
640640
*
641641
* @param {string} filterDir - The path to the directory containing filters.
642-
* @param {Array<number>} [whitelist] - An array whitelist filters IDs.
643-
* @param {Array<number>} [blacklist] - An array blacklist filters IDs.
642+
* @param {Array<number>|null} [whitelist] - An array whitelist filters IDs.
643+
* @param {Array<number>|null} [blacklist] - An array blacklist filters IDs.
644644
* @returns {Promise<void>} A promise that resolves when all filters and its subdirectories have been processed.
645645
*/
646646
const buildFilter = async function (filterDir, whitelist, blacklist) {

0 commit comments

Comments
 (0)