Fix @typescript-eslint/no-unsafe-return errors
This commit is contained in:
parent
c347ce8483
commit
e266dd00f2
15 changed files with 41 additions and 16 deletions
|
|
@ -9,6 +9,7 @@ const _extract = (script?: vm.Script): Record<string, any> => {
|
|||
if (!module.exports) {
|
||||
throw new Error('Error reading configuration: `module.exports` not set');
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
||||
return module.exports;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue