mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Use stricter Element type in tether options
This commit is contained in:
6
tether/tether.d.ts
vendored
6
tether/tether.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user