mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Big replacement: bool with boolean
This commit is contained in:
Vendored
+19
-19
@@ -27,10 +27,10 @@ interface PouchApi {
|
||||
|
||||
interface PouchGetOptions {
|
||||
rev?: string;
|
||||
revs?: bool;
|
||||
revs_info?: bool;
|
||||
conflicts?: bool;
|
||||
attachments?: bool;
|
||||
revs?: boolean;
|
||||
revs_info?: boolean;
|
||||
conflicts?: boolean;
|
||||
attachments?: boolean;
|
||||
}
|
||||
|
||||
interface PouchGetResponse {
|
||||
@@ -42,9 +42,9 @@ interface PouchGetResponse {
|
||||
interface PouchAllDocsOptions {
|
||||
startkey?: string;
|
||||
endKey?: string;
|
||||
descending?: bool;
|
||||
include_docs?: bool;
|
||||
conflicts?: bool;
|
||||
descending?: boolean;
|
||||
include_docs?: boolean;
|
||||
conflicts?: boolean;
|
||||
}
|
||||
|
||||
interface PouchAllDocsItem {
|
||||
@@ -74,11 +74,11 @@ interface PouchBulkDocsRequest {
|
||||
}
|
||||
|
||||
interface PouchUpdateOptions {
|
||||
new_edits?: bool;
|
||||
new_edits?: boolean;
|
||||
}
|
||||
|
||||
interface PouchUpdateResponse {
|
||||
ok: bool;
|
||||
ok: boolean;
|
||||
id: string;
|
||||
rev: string;
|
||||
}
|
||||
@@ -110,10 +110,10 @@ interface PouchFilter {
|
||||
|
||||
interface PouchQueryOptions {
|
||||
complete?: any;
|
||||
include_docs?: bool;
|
||||
include_docs?: boolean;
|
||||
error?: (err: PouchError) => void;
|
||||
descending?: bool;
|
||||
reduce?: bool;
|
||||
descending?: boolean;
|
||||
reduce?: boolean;
|
||||
}
|
||||
|
||||
interface PouchQueryResponse {
|
||||
@@ -131,7 +131,7 @@ interface PouchApi {
|
||||
}
|
||||
|
||||
interface PouchAttachmentOptions {
|
||||
decode?: bool;
|
||||
decode?: boolean;
|
||||
}
|
||||
|
||||
interface PouchApi {
|
||||
@@ -150,11 +150,11 @@ interface PouchChangesOptions {
|
||||
complete?: (err: PouchError, res: PouchChanges) => void;
|
||||
seq?: number;
|
||||
since?: number;
|
||||
descending?: bool;
|
||||
descending?: boolean;
|
||||
filter?: PouchFilter;
|
||||
continuous?: bool;
|
||||
include_docs?: bool;
|
||||
conflicts?: bool;
|
||||
continuous?: boolean;
|
||||
include_docs?: boolean;
|
||||
conflicts?: boolean;
|
||||
}
|
||||
|
||||
interface PouchChange {
|
||||
@@ -177,14 +177,14 @@ interface PouchRevsDiffOptions {
|
||||
}
|
||||
|
||||
interface PouchReplicateOptions {
|
||||
continuous?: bool;
|
||||
continuous?: boolean;
|
||||
onChange?: (any) => void;
|
||||
filter?: any; // Can be either string or PouchFilter
|
||||
complete?: (err: PouchError, res: PouchChanges) => void;
|
||||
}
|
||||
|
||||
interface PouchReplicateResponse {
|
||||
ok: bool;
|
||||
ok: boolean;
|
||||
start_time: Date;
|
||||
end_time: Date;
|
||||
docs_read: number;
|
||||
|
||||
Reference in New Issue
Block a user