diff --git a/notNeededPackages.json b/notNeededPackages.json index 182d9133b8..8cb03264b9 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -425,6 +425,12 @@ "typingsPackageName": "xmpp-jid", "sourceRepoURL": "github.com/node-xmpp/node-xmpp/", "asOfVersion": "1.2.0" + }, + { + "libraryName": "Zone.js", + "typingsPackageName": "zone.js", + "sourceRepoURL": "https://github.com/angular/zone.js", + "asOfVersion": "0.5.12" } ] } diff --git a/types/zone.js/index.d.ts b/types/zone.js/index.d.ts deleted file mode 100644 index 06b6b5943b..0000000000 --- a/types/zone.js/index.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -// Type definitions for Zone.js -// Project: https://github.com/angular/zone.js -// Definitions by: angular team -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare class Zone { - constructor(parentZone: Zone, data: any); - - fork(locals?: {[key: string]: any}): Zone; - bind(fn: Function, skipEnqueue?: boolean): void; - bindOnce(fn: Function): any; - run(fn: Function, applyTo?: any, applyWith?: any): void; - isRootZone(): boolean; - - static bindPromiseFn Promise>(fn: T): T; - - static longStackTraceZone: {[key: string]: any}; -} diff --git a/types/zone.js/tsconfig.json b/types/zone.js/tsconfig.json deleted file mode 100644 index c61351295e..0000000000 --- a/types/zone.js/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "zone.js-tests.ts" - ] -} \ No newline at end of file diff --git a/types/zone.js/zone.js-tests.ts b/types/zone.js/zone.js-tests.ts deleted file mode 100644 index 22eb77f867..0000000000 --- a/types/zone.js/zone.js-tests.ts +++ /dev/null @@ -1,11 +0,0 @@ - - -declare var zone: Zone; - -zone.fork().fork({ - beforeTask: function () { - console.log('from beforeTask'); - } -}).run(function () { - console.log('from main'); -});