fix: remove unused variables (#7968)

This commit is contained in:
Don Isaac authored and GitHub committed 2024-08-26 14:23:56 +08:00
1 parent 14066965fa
commit dbcfd24ed8
18 files changed
+18 -18

No files matched your search

@@ -64,7 +64,7 @@ class Storage<T extends object> {
return this._options.config;
}
return cfg;
} catch (err) {
} catch {
return this._cfg;
}
} else {
@@ -521,7 +521,7 @@ function isConstructor(cls: any) {
try {
Reflect.construct(function () {}, [], cls);
return true;
} catch (error) {
} catch {
return false;
}
}