mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 18:37:04 -04:00
Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
547af260a5
19 changed files with 683 additions and 1325 deletions
|
@ -506,7 +506,7 @@ function getAllPropertyNames(object: Record<PropertyKey, any>, includeNonEnumera
|
|||
|
||||
const getKeys = includeNonEnumerable ? Object.getOwnPropertyNames : Object.keys;
|
||||
do {
|
||||
getKeys(object).forEach(name => names.add(name));
|
||||
getKeys(object).forEach(name => name !== "__esModule" && names.add(name));
|
||||
object = Object.getPrototypeOf(object);
|
||||
} while (object != null);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue