mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
Big replacement: bool with boolean
This commit is contained in:
Vendored
+17
-17
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user