File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ import { log } from './util/logger';
9
9
*
10
10
* @param {environment } [ENVIRONMENT] For overriding running environment
11
11
*
12
- * @param {initializeTimeout } [number] Custom timeout to pass for the initialization of the module
12
+ * @param {timeout } [number] Custom timeout to pass for the initialization of the module
13
13
*
14
14
* @returns {Promise<HunspellFactory> } Factory function of cld to allow create instance of hunspell.
15
15
*/
16
16
const loadModule : ( environment ?: ENVIRONMENT ) => Promise < HunspellFactory > = async (
17
17
environment ?: ENVIRONMENT ,
18
- initializeTimeout ?: number
18
+ timeout ?: number
19
19
) => {
20
20
log ( `loadModule: loading hunspell module` ) ;
21
21
@@ -25,7 +25,7 @@ const loadModule: (environment?: ENVIRONMENT) => Promise<HunspellFactory> = asyn
25
25
( runtime : HunspellAsmModule , env : ENVIRONMENT ) => hunspellLoader ( runtime , env ) ,
26
26
runtimeModule ,
27
27
undefined ,
28
- { timeout : initializeTimeout }
28
+ { timeout }
29
29
) ;
30
30
31
31
return moduleLoader ( environment ) ;
You can’t perform that action at this time.
0 commit comments