1234567891011121314151617181920 |
- import { DependencyIdentifier } from './dependencyIdentifier';
- import { Quantity } from './types';
- export declare function checkQuantity(id: DependencyIdentifier<any>, quantity: Quantity, length: number): void;
- export declare function retrieveQuantity<T>(quantity: Quantity, arr: T[]): T[] | T;
- interface ManyDecorator {
- (id?: DependencyIdentifier<any>): any;
- new (): ManyDecorator;
- }
- export declare const Many: ManyDecorator;
- interface OptionalDecorator {
- (id?: DependencyIdentifier<any>): any;
- new (): OptionalDecorator;
- }
- export declare const Optional: OptionalDecorator;
- interface InjectDecorator {
- (id: DependencyIdentifier<any>): any;
- new (): InjectDecorator;
- }
- export declare const Inject: InjectDecorator;
- export {};
|