UNPKG

400 BTypeScriptView Raw
1/**
2 * @name objectProperty
3 * @summary Assign a get property on the input object
4 */
5export declare function objectProperty(that: object, key: string, getter: (k: string) => unknown): void;
6/**
7 * @name objectProperties
8 * @summary Assign get properties on the input object
9 */
10export declare function objectProperties(that: object, keys: string[], getter: (k: string, i: number) => unknown): void;