Use stricter Element type in tether options

This commit is contained in:
Adi Dahiya
2015-03-23 18:34:52 -04:00
parent bba34156c1
commit 88b4ec5770

6
tether/tether.d.ts vendored
View File

@@ -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 {