11 lines
433 B
Plaintext
11 lines
433 B
Plaintext
import InjectionToken from "../providers/injection-token";
|
|
/**
|
|
* Parameter decorator factory that allows for interface information to be stored in the constructor's metadata
|
|
*
|
|
* @return {Function} The parameter decorator
|
|
*/
|
|
declare function inject(token: InjectionToken<any>, options?: {
|
|
isOptional?: boolean;
|
|
}): (target: any, propertyKey: string | symbol | undefined, parameterIndex: number) => any;
|
|
export default inject;
|