From 88b4ec57704662a9d422aa3558890bd1751e9749 Mon Sep 17 00:00:00 2001 From: Adi Dahiya Date: Mon, 23 Mar 2015 18:34:52 -0400 Subject: [PATCH] Use stricter Element type in tether options --- tether/tether.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tether/tether.d.ts b/tether/tether.d.ts index be1200f28..2fffb16c9 100644 --- a/tether/tether.d.ts +++ b/tether/tether.d.ts @@ -14,11 +14,11 @@ declare module tether { classes?: {[className: string]: boolean}; classPrefix?: string; constraints?: ITetherConstraint[]; - element?: Element | string | any /* JQuery */; + element?: HTMLElement | string | any /* JQuery */; enabled?: boolean; offset?: string; optimizations?: any; - target?: Element | string | any /* JQuery */; + target?: HTMLElement | string | any /* JQuery */; targetAttachment?: string; targetOffset?: string; targetModifier?: string; @@ -29,7 +29,7 @@ declare module tether { outOfBoundsClass?: string; pin?: boolean | string[]; pinnedClass?: string; - to?: string | Element | number[]; + to?: string | HTMLElement | number[]; } interface Tether {