Skip to content

Commit

Permalink
Update and/or configure type declarations. (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks authored Feb 17, 2018
1 parent a3a5605 commit 1e25e51
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 59 deletions.
28 changes: 14 additions & 14 deletions iron-button-state.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions iron-control-state.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
72 changes: 31 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 1e25e51

Please sign in to comment.