UNPKG

lean4-code-actions

Version:

Refactorings and snippets for Lean 4

7 lines (5 loc) 161 B
export interface EmptyObject {} export function getKeys<Obj extends object>(object: Obj) { // fix the type return Object.keys(object) as Array<keyof Obj> }