@kaokei/di 3.0.8 → 3.0.9

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.
@@ -12,7 +12,7 @@ export declare const Inject: InjectFunction<ReturnType<typeof createDecorator>>;
12
12
  export declare const Self: (decoratorValue?: any) => (target: any, targetKey?: string, index?: number) => void;
13
13
  export declare const SkipSelf: (decoratorValue?: any) => (target: any, targetKey?: string, index?: number) => void;
14
14
  export declare const Optional: (decoratorValue?: any) => (target: any, targetKey?: string, index?: number) => void;
15
- export declare const PostConstruct: (metaValue: any) => (target: any, propertyKey: string) => void;
16
- export declare const PreDestroy: (metaValue: any) => (target: any, propertyKey: string) => void;
15
+ export declare const PostConstruct: (metaValue?: any) => (target: any, propertyKey: string) => void;
16
+ export declare const PreDestroy: (metaValue?: any) => (target: any, propertyKey: string) => void;
17
17
  export declare function decorate(decorator: any, target: any, key: number | string): void;
18
18
  export {};
@@ -12,7 +12,7 @@ export declare const Inject: InjectFunction<ReturnType<typeof createDecorator>>;
12
12
  export declare const Self: (decoratorValue?: any) => (target: any, targetKey?: string, index?: number) => void;
13
13
  export declare const SkipSelf: (decoratorValue?: any) => (target: any, targetKey?: string, index?: number) => void;
14
14
  export declare const Optional: (decoratorValue?: any) => (target: any, targetKey?: string, index?: number) => void;
15
- export declare const PostConstruct: (metaValue: any) => (target: any, propertyKey: string) => void;
16
- export declare const PreDestroy: (metaValue: any) => (target: any, propertyKey: string) => void;
15
+ export declare const PostConstruct: (metaValue?: any) => (target: any, propertyKey: string) => void;
16
+ export declare const PreDestroy: (metaValue?: any) => (target: any, propertyKey: string) => void;
17
17
  export declare function decorate(decorator: any, target: any, key: number | string): void;
18
18
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaokei/di",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "type": "module",
5
5
  "description": "Tiny di library depends on typescript decorator.",
6
6
  "main": "./dist/index.cjs",