All files index.ts

100% Statements 12/12
100% Branches 0/0
100% Functions 0/0
100% Lines 12/12

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45                  1x   1x 1x 1x 1x 1x 1x               1x               1x               1x   1x 1x  
/**
 * @description A lightweight dependency injection library for TypeScript applications.
 * @summary Adds a simple Injectables implementation to create singleton instances of an object
 * and easily inject it into other objects. Provides decorators for marking classes as injectable
 * and for injecting dependencies into class properties.
 *
 * @module injectable-decorators
 */
 
import { Metadata } from "@decaf-ts/decoration";
 
export * from "./constants";
export * from "./decorators";
export * from "./Injectables";
export * from "./registry";
export * from "./types";
export * from "./utils";
 
/**
 * @description Current version of the injectable-decorators library.
 * @summary Defined on library build. Holds the library's current version string.
 * @const VERSION
 * @memberOf module:injectable-decorators
 */
export const VERSION = "##VERSION##";
 
/**
 * @description Represents the current commit hash of the module build.
 * @summary Stores the current git commit hash for the package. The build replaces
 * the placeholder with the actual commit hash at publish time.
 * @const COMMIT
 */
export const COMMIT = "##COMMIT##";
 
/**
 * @description Represents the full version string of the module.
 * @summary Stores the semver version and commit hash for the package.
 * The build replaces the placeholder with the actual `<version>-<commit>` value at publish time.
 * @const FULL_VERSION
 */
export const FULL_VERSION = "##FULL_VERSION##";
 
export const PACKAGE_NAME = "##PACKAGE##";
Metadata.registerLibrary(PACKAGE_NAME, VERSION);