angular2
Version:
Angular 2 - a web framework for modern web apps
17 lines (16 loc) • 567 B
TypeScript
import { Type } from 'angular2/src/facade/lang';
import { GetterFn, SetterFn, MethodFn } from './types';
export interface PlatformReflectionCapabilities {
isReflectionEnabled(): boolean;
factory(type: Type): Function;
interfaces(type: Type): any[];
parameters(type: any): any[][];
annotations(type: any): any[];
propMetadata(typeOrFunc: any): {
[key: string]: any[];
};
getter(name: string): GetterFn;
setter(name: string): SetterFn;
method(name: string): MethodFn;
importUri(type: Type): string;
}