fix: remove unused variables (#7968)

This commit is contained in:
Don Isaac
2024-08-26 02:23:56 -04:00
committed by GitHub
parent 14066965fa
commit dbcfd24ed8
18 changed files with 18 additions and 18 deletions

View File

@@ -64,7 +64,7 @@ class Storage<T extends object> {
return this._options.config;
}
return cfg;
} catch (err) {
} catch {
return this._cfg;
}
} else {

View File

@@ -521,7 +521,7 @@ function isConstructor(cls: any) {
try {
Reflect.construct(function () {}, [], cls);
return true;
} catch (error) {
} catch {
return false;
}
}