File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ export function isNodeEnv(): boolean {
12
12
*
13
13
* @param request The module path to resolve
14
14
*/
15
+ // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
15
16
export function dynamicRequire ( mod : any , request : string ) : any {
17
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
16
18
return mod . require ( request ) ;
17
19
}
18
20
@@ -22,6 +24,8 @@ export function dynamicRequire(mod: any, request: string): any {
22
24
* @param request The module path to resolve
23
25
* @param options The resolution options
24
26
*/
27
+ // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
25
28
export function dynamicResolve ( mod : any , request : string , options : Record < string , unknown > ) : any {
29
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
26
30
return mod . require . resolve ( request , options ) ;
27
31
}
You can’t perform that action at this time.
0 commit comments