diff --git a/lib/typings/common-types.ts b/lib/typings/common-types.ts index 2c1c15cb8..8d8c68a3b 100644 --- a/lib/typings/common-types.ts +++ b/lib/typings/common-types.ts @@ -61,7 +61,7 @@ export function assertSingleKey( /** * Typing wrapper around Object.keys() */ -export function objectKeys(object: T) { +export function objectKeys(object: T) { return Object.keys(object) as (keyof T)[]; }