@stompbox/tape-delay 1.0.12 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  import { BindInWhenOnFluentSyntax } from "inversify";
2
2
  export { injectable } from 'inversify';
3
+ /**
4
+ * Current active application environment.
5
+ */
3
6
  type Environment = 'test' | 'development' | 'production';
4
7
  type ClassEntry<T> = new (...args: any[]) => T;
5
8
  type ConstantValueEntry<T> = {
@@ -157,5 +160,5 @@ export declare class TapeDelay<T extends Entries> {
157
160
  private container;
158
161
  instance: <E extends keyof T>(entryName: E) => EntryType<T[E]>;
159
162
  }
160
- type Keys<T> = T extends TapeDelay<infer GG> ? keyof GG : never;
163
+ type Keys<T> = T extends TapeDelay<infer ContainerEntries> ? keyof ContainerEntries : never;
161
164
  export declare const inject: <ContainerType>(entryKey: Keys<ContainerType>) => MethodDecorator & ParameterDecorator & PropertyDecorator;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stompbox/tape-delay",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "license": "MIT",
5
5
  "description": "Plug-and-play DI based on Inversify",
6
6
  "repository": {