From dea908026556e6d2bcdbc72dc7d5d4ff418c5ba4 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Thu, 8 Feb 2018 14:52:30 -0800 Subject: [PATCH] Revert types. --- types/externs/closure-types.d.ts | 10 ---------- types/externs/polymer-externs.d.ts | 10 ---------- .../externs/polymer-internal-shared-types.d.ts | 10 ---------- types/externs/webcomponents-externs.d.ts | 10 ---------- types/gulpfile.d.ts | 18 ------------------ types/lib/legacy/mutable-data-behavior.d.ts | 4 ++++ types/lib/legacy/templatizer-behavior.d.ts | 2 ++ types/util/minimalDocument.d.ts | 13 ------------- 8 files changed, 6 insertions(+), 71 deletions(-) delete mode 100644 types/externs/closure-types.d.ts delete mode 100644 types/externs/polymer-externs.d.ts delete mode 100644 types/externs/polymer-internal-shared-types.d.ts delete mode 100644 types/externs/webcomponents-externs.d.ts delete mode 100644 types/gulpfile.d.ts delete mode 100644 types/util/minimalDocument.d.ts diff --git a/types/externs/closure-types.d.ts b/types/externs/closure-types.d.ts deleted file mode 100644 index a9dac916c2..0000000000 --- a/types/externs/closure-types.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * DO NOT EDIT - * - * This file was automatically generated by - * https://github.com/Polymer/gen-typescript-declarations - * - * To modify these typings, edit the source file(s): - * externs/closure-types.js - */ - diff --git a/types/externs/polymer-externs.d.ts b/types/externs/polymer-externs.d.ts deleted file mode 100644 index 6cf2cc7426..0000000000 --- a/types/externs/polymer-externs.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * DO NOT EDIT - * - * This file was automatically generated by - * https://github.com/Polymer/gen-typescript-declarations - * - * To modify these typings, edit the source file(s): - * externs/polymer-externs.js - */ - diff --git a/types/externs/polymer-internal-shared-types.d.ts b/types/externs/polymer-internal-shared-types.d.ts deleted file mode 100644 index f6fef0f1fe..0000000000 --- a/types/externs/polymer-internal-shared-types.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * DO NOT EDIT - * - * This file was automatically generated by - * https://github.com/Polymer/gen-typescript-declarations - * - * To modify these typings, edit the source file(s): - * externs/polymer-internal-shared-types.js - */ - diff --git a/types/externs/webcomponents-externs.d.ts b/types/externs/webcomponents-externs.d.ts deleted file mode 100644 index 87cdda9b58..0000000000 --- a/types/externs/webcomponents-externs.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * DO NOT EDIT - * - * This file was automatically generated by - * https://github.com/Polymer/gen-typescript-declarations - * - * To modify these typings, edit the source file(s): - * externs/webcomponents-externs.js - */ - diff --git a/types/gulpfile.d.ts b/types/gulpfile.d.ts deleted file mode 100644 index 2d52f67506..0000000000 --- a/types/gulpfile.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * DO NOT EDIT - * - * This file was automatically generated by - * https://github.com/Polymer/gen-typescript-declarations - * - * To modify these typings, edit the source file(s): - * gulpfile.js - */ - -declare class BackfillStream { - _transform(file: any, enc: any, cb: any): any; - _flush(cb: any): any; -} - -declare class AddClosureTypeImport { - _transform(file: any, enc: any, cb: any): any; -} diff --git a/types/lib/legacy/mutable-data-behavior.d.ts b/types/lib/legacy/mutable-data-behavior.d.ts index 67c7f5d50e..ea580cc881 100644 --- a/types/lib/legacy/mutable-data-behavior.d.ts +++ b/types/lib/legacy/mutable-data-behavior.d.ts @@ -66,6 +66,8 @@ declare namespace Polymer { _shouldPropertyChange(property: string, value: any, old: any): boolean; } + const MutableDataBehavior: object; + /** * Legacy element behavior to add the optional ability to skip strict * dirty-checking for objects and arrays (always consider them to be @@ -128,4 +130,6 @@ declare namespace Polymer { */ _shouldPropertyChange(property: string, value: any, old: any): boolean; } + + const OptionalMutableDataBehavior: object; } diff --git a/types/lib/legacy/templatizer-behavior.d.ts b/types/lib/legacy/templatizer-behavior.d.ts index cf91f2eb40..81f1df4a2e 100644 --- a/types/lib/legacy/templatizer-behavior.d.ts +++ b/types/lib/legacy/templatizer-behavior.d.ts @@ -111,4 +111,6 @@ declare namespace Polymer { */ modelForElement(el: HTMLElement|null): TemplateInstanceBase|null; } + + const Templatizer: object; } diff --git a/types/util/minimalDocument.d.ts b/types/util/minimalDocument.d.ts deleted file mode 100644 index 6b08817411..0000000000 --- a/types/util/minimalDocument.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * DO NOT EDIT - * - * This file was automatically generated by - * https://github.com/Polymer/gen-typescript-declarations - * - * To modify these typings, edit the source file(s): - * util/minimalDocument.js - */ - -declare class MinimalDocTransform { - _transform(file: any, enc: any, cb: any): any; -}