From eabee0a4bd675100546e254b5404112860461426 Mon Sep 17 00:00:00 2001 From: Mihail Bodrov Date: Tue, 15 Oct 2019 23:21:11 +0300 Subject: [PATCH] Use correct array type for Object.keys --- src/lib/es5.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 1be8d331a6ff7..292d0d2f6c9b0 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -238,7 +238,7 @@ interface ObjectConstructor { * Returns the names of the enumerable string properties and methods of an object. * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ - keys(o: object): string[]; + keys(o: T): Array>; } /**