DefinitelyTyped/types/lazy-property/index.d.ts
Jan 9156059301 Lazy property (#38379)
* [lazy-property] added type definitions

* [lazy-property] fixed tests and lint
2019-09-16 12:29:55 -07:00

15 lines
421 B
TypeScript

// Type definitions for lazy-property 1.0
// Project: https://github.com/mikolalysenko/lazy-property
// Definitions by: Jan Kühnlein <https://github.com/jank1310>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
declare function addLazyProperty(
object: object,
name: string,
initializer: () => any,
enumerable?: boolean,
): void;
export = addLazyProperty;