diff --git a/src/nativescript-angular/application.d.ts b/src/nativescript-angular/application.d.ts deleted file mode 100644 index cf6fd0b18..000000000 --- a/src/nativescript-angular/application.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Type, ComponentRef, Provider } from 'angular2/core'; - -export interface AppOptions { - cssFile?: string; - startPageActionBarHidden?: boolean; -} - -export type ProviderArray = Array>; -export function bootstrap(appComponentType: any, componentInjectableBindings?: ProviderArray): Promise; -export function nativeScriptBootstrap(appComponentType: any, customProviders?: ProviderArray, appOptions?: any): Promise; diff --git a/src/nativescript-angular/element-registry.d.ts b/src/nativescript-angular/element-registry.d.ts deleted file mode 100644 index 6fda71a9b..000000000 --- a/src/nativescript-angular/element-registry.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import {View} from 'ui/core/view'; - -export type ViewResolver = () => ViewClass; - -export type NgView = View & ViewExtensions; - -export interface ViewExtensions { - nodeName: string; - templateParent: NgView; - cssClasses: Map; - meta: ViewClassMeta; -} - -export interface ViewClassMeta { - skipAddToDom?: boolean; - insertChild?: (parent: NgView, child: NgView, atIndex: number) => void; - removeChild?: (parent: NgView, child: NgView) => void; -} - -export interface ViewClass { - new(): View -} - - -export function registerElement(elementName: string, resolver: ViewResolver): void; -export function getViewClass(elementName: string): ViewClass; -export function isKnownView(elementName: string): boolean; -export function getViewMeta(nodeName: string): ViewClassMeta; \ No newline at end of file diff --git a/src/nativescript-angular/modal-dialog.d.ts b/src/nativescript-angular/modal-dialog.d.ts deleted file mode 100644 index 850fd3ce0..000000000 --- a/src/nativescript-angular/modal-dialog.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import {Type} from 'angular2/core'; - -export interface ModalDialogOptions { - context?: any; - fullscreen?: boolean; -} - -export class ModalDialogParams { - public context: any; - public closeCallback: (...args) => any; -} - -export class ModalDialogService { - public showModal(type: Type, options: ModalDialogOptions): Promise; -} - -export class ModalDialogHost { -} diff --git a/src/nativescript-angular/router.d.ts b/src/nativescript-angular/router.d.ts deleted file mode 100644 index 42400d51c..000000000 --- a/src/nativescript-angular/router.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import {Type} from 'angular2/core'; - -export var NS_ROUTER_PROVIDERS: any[]; -export var NS_ROUTER_DIRECTIVES: Type[]; -export var routerTraceCategory: string;