Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Update and/or configure type declarations. (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks authored Feb 17, 2018
1 parent 2ea42b8 commit 3d23103
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 118 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ before_script:
- >-
npm run update-types && git diff --exit-code || (echo -e
'\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
update-types".' &&false)
update-types".' && false)
script:
- xvfb-run polymer test
- >-
Expand Down
14 changes: 7 additions & 7 deletions iron-location.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,21 @@ interface IronLocationElement extends Polymer.Element {
_lastChangedAt: number|null|undefined;
_initialized: boolean|null|undefined;
hostAttributes: object|null;
created(): any;
attached(): any;
detached(): any;
_hashChanged(): any;
_urlChanged(): any;
created(): void;
attached(): void;
detached(): void;
_hashChanged(): void;
_urlChanged(): void;
_getUrl(): any;
_updateUrl(): any;
_updateUrl(): void;

/**
* A necessary evil so that links work as expected. Does its best to
* bail out early if possible.
*
* @param event .
*/
_globalOnClick(event: MouseEvent|null): any;
_globalOnClick(event: MouseEvent|null): void;

/**
* Returns the absolute URL of the link (if any) that this click event
Expand Down
4 changes: 2 additions & 2 deletions iron-query-params.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ interface IronQueryParamsElement extends Polymer.Element {
paramsObject: object|null|undefined;
_dontReact: boolean|null|undefined;
hostAttributes: object|null;
paramsStringChanged(): any;
paramsObjectChanged(): any;
paramsStringChanged(): void;
paramsObjectChanged(): void;
_encodeParams(params: any): any;
_decodeParams(paramString: any): any;
}
Expand Down
Loading

0 comments on commit 3d23103

Please sign in to comment.