mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Replace bool with boolean (for TypeScript 0.9.0+)
This commit is contained in:
Vendored
+11
-11
@@ -7,24 +7,24 @@
|
||||
/// <reference path="../jquery/jquery.d.ts"/>
|
||||
|
||||
interface HammerOptions {
|
||||
prevent_default?: bool;
|
||||
css_hacks?: bool;
|
||||
swipe?: bool;
|
||||
prevent_default?: boolean;
|
||||
css_hacks?: boolean;
|
||||
swipe?: boolean;
|
||||
swipe_time?: number;
|
||||
swipe_min_distance?: number;
|
||||
drag?: bool;
|
||||
drag_vertical?: bool;
|
||||
drag_horizontal?: bool;
|
||||
drag?: boolean;
|
||||
drag_vertical?: boolean;
|
||||
drag_horizontal?: boolean;
|
||||
drag_min_distance?: number;
|
||||
transform?: bool;
|
||||
transform?: boolean;
|
||||
scale_treshold?: number;
|
||||
rotation_treshold?: number;
|
||||
tap?: bool;
|
||||
tap_double?: bool;
|
||||
tap?: boolean;
|
||||
tap_double?: boolean;
|
||||
tap_max_interval?: number;
|
||||
tap_max_distance?: number;
|
||||
tap_double_distance?: number;
|
||||
hold?: bool;
|
||||
hold?: boolean;
|
||||
hold_timeout?: number;
|
||||
}
|
||||
|
||||
@@ -70,4 +70,4 @@ declare class Hammer {
|
||||
|
||||
interface JQuery {
|
||||
hammer(options?: HammerOptions): JQuery;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user