UNPKG

@linzjs/step-ag-grid

Version:

[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release) > Reusable [ag-grid](https://www.ag-grid.com/) component for LINZ / Toitū te whenua.

6 lines (5 loc) 312 B
export type KeysOfType<TObject, TValue> = { [K in keyof TObject]: TObject[K] extends TValue ? K : never; }[keyof TObject]; export declare const typedKeys: <T extends object>(obj: T) => (keyof T)[]; export declare const typedEntries: <T extends object>(obj: T) => { [K in keyof T]-?: [K, T[K]]; }[keyof T][];