@linzjs/step-ag-grid
Version:
[](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
TypeScript
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][];