This repository was archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathangular.decorators.d.ts
More file actions
34 lines (34 loc) · 1.87 KB
/
angular.decorators.d.ts
File metadata and controls
34 lines (34 loc) · 1.87 KB
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
import * as angular from 'angular';
export interface ModuleOptions {
module: string;
}
export interface ComponentOptions extends angular.IComponentOptions, ModuleOptions {
selector: string;
styles?: string;
}
export declare function NG1Component(options: ComponentOptions): Function;
export declare function Component(options: ComponentOptions): Function;
export interface ServiceOptions extends ModuleOptions {
serviceName: string;
}
export declare function NG1Service(options: ServiceOptions): Function;
export declare function Service(options: ServiceOptions): Function;
export interface ProviderOptions extends ModuleOptions {
providerName: string;
}
export declare function NG1Provider(options: ProviderOptions): Function;
export declare function Provider(options: ProviderOptions): Function;
export interface FactoryOptions extends ModuleOptions {
factoryName: string;
}
export declare function NG1Factory(options: FactoryOptions): Function;
export declare function Factory(options: FactoryOptions): Function;
export interface FilterOptions extends ModuleOptions {
filterName: string;
}
export declare function NG1Filter(options: FilterOptions): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => any;
export declare function Filter(options: FilterOptions): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => any;
export declare function NG1Config(options: ModuleOptions): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => any;
export declare function Config(options: ModuleOptions): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => any;
export declare function NG1Run(options: ModuleOptions): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => any;
export declare function Run(options: ModuleOptions): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => any;