This commit is contained in:
Your Name
2026-08-11 17:41:36 +08:00
parent cfe4c82c90
commit 03fe4ddf9d
18771 changed files with 3617239 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
declare namespace allKeys {
interface IOptions {
prototype?: boolean;
unenumerable?: boolean;
}
}
declare function allKeys(
obj: any,
options: { symbol: true } & allKeys.IOptions
): Array<string | Symbol>;
declare function allKeys(
obj: any,
options?: ({ symbol: false } & allKeys.IOptions) | allKeys.IOptions
): string[];
export = allKeys;