File: index.d.ts

package info (click to toggle)
node-lazy-property 1.0.0%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 116 kB
  • sloc: javascript: 33; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 421 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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;