Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
Update and/or configure type declarations. (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks authored Feb 17, 2018
1 parent 109db09 commit 0d6ebe5
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 46 deletions.
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.1",
"@polymer/gen-typescript-declarations": "^1.2.0",
"bower": "^1.8.0"
},
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions paper-dialog-behavior.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ declare namespace Polymer {
* It will also ensure that focus remains in the dialog.
*/
interface PaperDialogBehavior extends Polymer.IronOverlayBehavior {
hostAttributes: object|null;

/**
* If `modal` is true, this implies `no-cancel-on-outside-click`, `no-cancel-on-esc-key` and `with-backdrop`.
*/
modal: boolean|null|undefined;
hostAttributes: object|null;
ready(): void;
_modalChanged(modal: any, readied: any): any;
_updateClosingReasonConfirmed(confirmed: any): any;
_modalChanged(modal: any, readied: any): void;
_updateClosingReasonConfirmed(confirmed: any): void;

/**
* Will dismiss the dialog if user clicked on an element with dialog-dismiss
* or dialog-confirm attribute.
*/
_onDialogClick(event: any): any;
_onDialogClick(event: any): void;
}

const PaperDialogBehavior: object;
Expand Down

0 comments on commit 0d6ebe5

Please sign in to comment.