Merge pull request #736 from derekcicerone/patch-5

Replace bool with boolean (for TypeScript 0.9.0+)
This commit is contained in:
Diullei Gomes
2013-07-02 17:12:38 -07:00
+2 -2
View File
@@ -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;