Skip to content

Commit

Permalink
fix(ngc): don't emit HTMLElement in JS files (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored and jelbourn committed Aug 16, 2016
1 parent c489385 commit 32eacd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/ripple/ripple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export class MdRipple implements OnInit, OnDestroy, OnChanges {
* The element that triggers the ripple when click events are received. Defaults to the
* directive's host element.
*/
@Input('md-ripple-trigger') trigger: HTMLElement;
// Prevent TS metadata emit from referencing HTMLElement in ripple.js
// That breaks tests running in node that load material components.
@Input('md-ripple-trigger') trigger: HTMLElement|HTMLElement;
/**
* Whether the ripple always originates from the center of the host element's bounds, rather
* than originating from the location of the click event.
Expand Down

0 comments on commit 32eacd2

Please sign in to comment.