Big replacement: bool with boolean

This commit is contained in:
Boris Yankov
2013-08-07 16:59:39 +03:00
parent bded8a8af5
commit dd35f69637
128 changed files with 4254 additions and 4240 deletions
+17 -17
View File
@@ -1,6 +1,6 @@
// Type definitions for noVNC
// Project: https://github.com/kanaka/noVNC
// Definitions by: Ken Smith <https://github.com/smithkl42/>
// Type definitions for noVNC
// Project: https://github.com/kanaka/noVNC
// Definitions by: Ken Smith <https://github.com/smithkl42/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface NvPoint {
@@ -9,16 +9,16 @@ interface NvPoint {
}
interface NvFeatures {
xpath: bool;
air: bool;
query: bool;
xpath: boolean;
air: boolean;
query: boolean;
}
interface NvEngine {
presto: bool;
trident: bool;
webkit: bool;
gecko: bool;
presto: boolean;
trident: boolean;
webkit: boolean;
gecko: boolean;
}
interface NvFlash {
@@ -67,14 +67,14 @@ interface NvRenderAction {
interface NvRFBDefaults {
target?: HTMLCanvasElement;
focusContainer?: HTMLElement;
encrypt?: bool;
true_color?: bool;
local_cursor?: bool;
shared?: bool;
view_only?: bool;
encrypt?: boolean;
true_color?: boolean;
local_cursor?: boolean;
shared?: boolean;
view_only?: boolean;
connectTimeout?: number;
disconnectTimeout?: number;
viewportDrag?: bool;
viewportDrag?: boolean;
check_rate?: number;
fbu_req_rate?: number;
repeaterID?: string;
@@ -97,7 +97,7 @@ declare class RFB {
disconnect(): void;
sendPassword(passwd: string): void;
sendCtrlAltDel(): void;
sendKey(code: number, down: bool): void;
sendKey(code: number, down: boolean): void;
clipboardPasteFrom(text: string): void;
testMode(override_send: (arr: Array) => bool, data_mode: string): void;
}