mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Use stricter Element type in tether options
This commit is contained in:
Vendored
+3
-3
@@ -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