diff --git a/iron-button-state.d.ts b/iron-button-state.d.ts index e5d5948..9a231cb 100644 --- a/iron-button-state.d.ts +++ b/iron-button-state.d.ts @@ -52,36 +52,36 @@ declare namespace Polymer { */ ariaActiveAttribute: string|null|undefined; _mouseEventRe: RegExp|null; - _tapHandler(): any; - _focusChanged(focused: any): any; - _detectKeyboardFocus(focused: any): any; + _tapHandler(): void; + _focusChanged(focused: any): void; + _detectKeyboardFocus(focused: any): void; /** * 'change' events */ - _userActivate(active: any): any; - _downHandler(event: any): any; - _upHandler(): any; + _userActivate(active: any): void; + _downHandler(event: any): void; + _upHandler(): void; /** * @param event . */ - _spaceKeyDownHandler(event: KeyboardEvent): any; + _spaceKeyDownHandler(event: KeyboardEvent): void; /** * @param event . */ - _spaceKeyUpHandler(event: KeyboardEvent): any; + _spaceKeyUpHandler(event: KeyboardEvent): void; /** * event handler to unwind before triggering another event */ - _asyncClick(): any; - _pressedChanged(pressed: any): any; - _ariaActiveAttributeChanged(value: any, oldValue: any): any; - _activeChanged(active: any, ariaActiveAttribute: any): any; - _controlStateChanged(): any; - _changedButtonState(): any; + _asyncClick(): void; + _pressedChanged(pressed: any): void; + _ariaActiveAttributeChanged(value: any, oldValue: any): void; + _activeChanged(active: any, ariaActiveAttribute: any): void; + _controlStateChanged(): void; + _changedButtonState(): void; } const IronButtonState: object; diff --git a/iron-control-state.d.ts b/iron-control-state.d.ts index 75ebfb9..f04357f 100644 --- a/iron-control-state.d.ts +++ b/iron-control-state.d.ts @@ -26,9 +26,9 @@ declare namespace Polymer { _oldTabIndex: number|null|undefined; _boundFocusBlurHandler: Function|null|undefined; ready(): void; - _focusBlurHandler(event: any): any; - _disabledChanged(disabled: any, old: any): any; - _changedControlState(): any; + _focusBlurHandler(event: any): void; + _disabledChanged(disabled: any, old: any): void; + _changedControlState(): void; } const IronControlState: object; diff --git a/package-lock.json b/package-lock.json index ccf8274..fcd0a62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,9 +4,9 @@ "lockfileVersion": 1, "dependencies": { "@polymer/gen-typescript-declarations": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@polymer/gen-typescript-declarations/-/gen-typescript-declarations-1.1.3.tgz", - "integrity": "sha512-NJriR/H/Jsc0XV0sBSNRn85jl4p0RUkX4fJCHqOfcjJY/9X360vpKXLeYdwvdF6bu0PuBsEsntsTxiEFsPFAZw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@polymer/gen-typescript-declarations/-/gen-typescript-declarations-1.2.0.tgz", + "integrity": "sha512-a5DFXI3TdZSVOMH4608LVaBLmcr+mwM2+B8OSBiB9WFNCtdqzUXwtB5We6vBzrThXlO4uRo7d2pEqjNXMAlEkA==", "dev": true, "requires": { "@types/doctrine": "0.0.3", @@ -19,7 +19,7 @@ "fs-extra": "5.0.0", "glob": "7.1.2", "minimatch": "3.0.4", - "polymer-analyzer": "3.0.0-pre.10" + "polymer-analyzer": "3.0.0-pre.12" } }, "@types/babel-generator": { @@ -106,7 +106,7 @@ "integrity": "sha512-qtxDULQKUenuaDLW003CgC+0T0eiAfH3BrH+vSt87GLzbz5EZ6Ox6mv9rMttvhDOatbb9nYh0E1m7ydoYwUrAg==", "dev": true, "requires": { - "@types/node": "9.4.5" + "@types/node": "9.4.6" } }, "@types/glob": { @@ -117,7 +117,7 @@ "requires": { "@types/events": "1.1.0", "@types/minimatch": "3.0.3", - "@types/node": "9.4.5" + "@types/node": "9.4.6" } }, "@types/minimatch": { @@ -127,9 +127,9 @@ "dev": true }, "@types/node": { - "version": "9.4.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.4.5.tgz", - "integrity": "sha512-DvC7bzO5797bkApgukxouHmkOdYN2D0yL5olw0RncDpXUa6n39qTVsUi/5g2QJjPgl8qn4zh+4h0sofNoWGLRg==", + "version": "9.4.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.4.6.tgz", + "integrity": "sha512-CTUtLb6WqCCgp6P59QintjHWqzf4VL1uPA27bipLAPxFqrtK1gEYllePzTICGqQ8rYsCbpnsNypXjjDzGAAjEQ==", "dev": true }, "@types/parse5": { @@ -138,7 +138,7 @@ "integrity": "sha1-44cKEOgnNacg9i1x3NGDunjvOp0=", "dev": true, "requires": { - "@types/node": "9.4.5" + "@types/node": "9.4.6" } }, "@types/winston": { @@ -147,7 +147,7 @@ "integrity": "sha512-QqR0j08RCS1AQYPMRPHikEpcmK+2aEEbcSzWLwOqyJ4FhLmHUx/WjRrnn7tTQg/y4IKnMhzskh/o7qvGIZZ7iA==", "dev": true, "requires": { - "@types/node": "9.4.5" + "@types/node": "9.4.6" } }, "ansi-escape-sequences": { @@ -413,24 +413,14 @@ } }, "dom5": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/dom5/-/dom5-2.3.0.tgz", - "integrity": "sha1-+CBJdb0NrLvltYqKk//B/tD/zSo=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/dom5/-/dom5-3.0.0.tgz", + "integrity": "sha512-PbE+7C4Sh1dHDTLNuSDaMUGD1ivDiSZw0L+a9xVUzUKeQ8w3vdzfKHRA07CxcrFZZOa1SGl2nIJ9T49j63q+bg==", "dev": true, "requires": { - "@types/clone": "0.1.30", - "@types/node": "6.0.100", "@types/parse5": "2.2.34", "clone": "2.1.1", - "parse5": "2.2.3" - }, - "dependencies": { - "@types/node": { - "version": "6.0.100", - "resolved": "https://registry.npmjs.org/@types/node/-/node-6.0.100.tgz", - "integrity": "sha512-LeTv/2eb37puibsq5982HXkKJBpu7Xc01WaGjEfncb+iE159nYOKkcaCCAsVoXBPD/7jAPdJt4J0+R9bqMndgg==", - "dev": true - } + "parse5": "4.0.0" } }, "escape-string-regexp": { @@ -708,9 +698,9 @@ } }, "parse5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-2.2.3.tgz", - "integrity": "sha1-DE/EHBAAxea5PUiwP4CDg3g06fY=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz", + "integrity": "sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==", "dev": true }, "path-is-absolute": { @@ -739,9 +729,9 @@ } }, "polymer-analyzer": { - "version": "3.0.0-pre.10", - "resolved": "https://registry.npmjs.org/polymer-analyzer/-/polymer-analyzer-3.0.0-pre.10.tgz", - "integrity": "sha1-9vCd15PdL0IomsAdoCb8q6ZfGYw=", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/polymer-analyzer/-/polymer-analyzer-3.0.0-pre.12.tgz", + "integrity": "sha512-QQL70IC85hI6q9uQeresEMcT1Qf8YR/zDe1qG8WWeeFAZk8z0lmzUpsfcAWz+bM4wpDdXrtd4HitIs4p0CHl/w==", "dev": true, "requires": { "@types/babel-generator": "6.25.1", @@ -754,7 +744,7 @@ "@types/cssbeautify": "0.3.1", "@types/doctrine": "0.0.1", "@types/minimatch": "3.0.3", - "@types/node": "6.0.100", + "@types/node": "6.0.101", "@types/parse5": "2.2.34", "babel-generator": "6.26.1", "babel-traverse": "6.26.0", @@ -764,11 +754,11 @@ "clone": "2.1.1", "cssbeautify": "0.3.1", "doctrine": "2.1.0", - "dom5": "2.3.0", + "dom5": "3.0.0", "indent": "0.0.2", "jsonschema": "1.2.2", "minimatch": "3.0.4", - "parse5": "2.2.3", + "parse5": "4.0.0", "polymer-project-config": "3.8.1", "shady-css-parser": "0.1.0", "stable": "0.1.6", @@ -783,9 +773,9 @@ "dev": true }, "@types/node": { - "version": "6.0.100", - "resolved": "https://registry.npmjs.org/@types/node/-/node-6.0.100.tgz", - "integrity": "sha512-LeTv/2eb37puibsq5982HXkKJBpu7Xc01WaGjEfncb+iE159nYOKkcaCCAsVoXBPD/7jAPdJt4J0+R9bqMndgg==", + "version": "6.0.101", + "resolved": "https://registry.npmjs.org/@types/node/-/node-6.0.101.tgz", + "integrity": "sha512-IQ7V3D6+kK1DArTqTBrnl3M+YgJZLw8ta8w3Q9xjR79HaJzMAoTbZ8TNzUTztrkCKPTqIstE2exdbs1FzsYLUw==", "dev": true } } @@ -796,16 +786,16 @@ "integrity": "sha512-MLvnM9gexFWg7nynY24eHZG6NLXocmk718sVds/sx2CAJ6iihhC0JMhhOIa6jnad9KQrHyGl/cs3mMRaaub5Fg==", "dev": true, "requires": { - "@types/node": "6.0.100", + "@types/node": "6.0.101", "jsonschema": "1.2.2", "minimatch-all": "1.1.0", "plylog": "0.5.0" }, "dependencies": { "@types/node": { - "version": "6.0.100", - "resolved": "https://registry.npmjs.org/@types/node/-/node-6.0.100.tgz", - "integrity": "sha512-LeTv/2eb37puibsq5982HXkKJBpu7Xc01WaGjEfncb+iE159nYOKkcaCCAsVoXBPD/7jAPdJt4J0+R9bqMndgg==", + "version": "6.0.101", + "resolved": "https://registry.npmjs.org/@types/node/-/node-6.0.101.tgz", + "integrity": "sha512-IQ7V3D6+kK1DArTqTBrnl3M+YgJZLw8ta8w3Q9xjR79HaJzMAoTbZ8TNzUTztrkCKPTqIstE2exdbs1FzsYLUw==", "dev": true } } diff --git a/package.json b/package.json index 18ab40a..85ff46c 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "license": "BSD-3-Clause", "devDependencies": { - "@polymer/gen-typescript-declarations": "^1.1.3", + "@polymer/gen-typescript-declarations": "^1.2.0", "bower": "^1.8.0" }, "scripts": {