Skip to content

Commit d96411b

Browse files
refactor: fix lint
1 parent 20322dd commit d96411b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/helpers/run.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ignore = [
2525
];
2626

2727
/**
28-
* @param {{ patterns?: Array<unknown>, compiler?: unknown, preCopy?: unknown, breakContenthash?: unknown, withChildCompilation?: unknown, expectedErrors?: Array<Error>, expectedWarnings?: Array<Error> }} opts Options for running the test
28+
* @param {{ patterns?: unknown[], compiler?: unknown, preCopy?: unknown, breakContenthash?: unknown, withChildCompilation?: unknown, expectedErrors?: Error[], expectedWarnings?: Error[] }} opts Options for running the test
2929
* @returns {Promise<{ compilation: unknown, compiler: unknown, stats: unknown }>} Resolves with compilation, compiler, and stats
3030
*/
3131
function run(opts) {
@@ -96,7 +96,7 @@ function run(opts) {
9696
}
9797

9898
/**
99-
* @param {{ expectedAssetKeys?: Array<string>, expectedAssetContent?: { [key: string]: unknown }, skipAssetsTesting?: boolean }} opts Options for running the test
99+
* @param {{ expectedAssetKeys?: string[], expectedAssetContent?: { [key: string]: unknown }, skipAssetsTesting?: boolean }} opts Options for running the test
100100
* @returns {Promise<void>} Resolves when the test is complete
101101
*/
102102
function runEmit(opts) {
@@ -163,7 +163,7 @@ const delay = (ms) =>
163163
});
164164

165165
/**
166-
* @param {{ patterns?: Array<unknown>, options?: unknown, newFileLoc1?: string, newFileLoc2?: string, expectedAssetKeys?: Array<string> }} opts Options for running the test
166+
* @param {{ patterns?: unknown[], options?: unknown, newFileLoc1?: string, newFileLoc2?: string, expectedAssetKeys?: string[] }} opts Options for running the test
167167
* @returns {Promise<void>} Resolves when the test is complete
168168
*/
169169
function runChange(opts) {

0 commit comments

Comments
 (0)