mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 02:03:01 +02:00
all the lints
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
* @deprecated Look into using `Map` or `Set` rather than manipulating properties on an Object.
|
||||
* @param obj the object to clear all properties
|
||||
*/
|
||||
export function clearObject(obj: any) {
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
export function clearObject(obj: any): void {
|
||||
for (const key in obj) {
|
||||
if (obj.hasOwnProperty(key)) {
|
||||
// tslint:disable-next-line:no-dynamic-delete
|
||||
|
||||
Reference in New Issue
Block a user