mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #736 from derekcicerone/patch-5
Replace bool with boolean (for TypeScript 0.9.0+)
This commit is contained in:
Vendored
+2
-2
@@ -4,11 +4,11 @@
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
interface ExtendedKeyboardEvent extends KeyboardEvent {
|
||||
returnValue: bool; // IE returnValue
|
||||
returnValue: boolean; // IE returnValue
|
||||
}
|
||||
|
||||
interface MousetrapStatic {
|
||||
stopCallback: (e: ExtendedKeyboardEvent, element: Element, combo: string) => bool;
|
||||
stopCallback: (e: ExtendedKeyboardEvent, element: Element, combo: string) => boolean;
|
||||
|
||||
bind(keys: string, callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void;
|
||||
bind(keyArray: string[], callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void;
|
||||
|
||||
Reference in New Issue
Block a user