mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
chai-jquery bool -> boolean
This commit is contained in:
Vendored
+14
-14
@@ -7,31 +7,31 @@
|
||||
|
||||
declare module chai {
|
||||
interface NameValueRegexMatcher {
|
||||
match(value: RegExp): bool;
|
||||
match(value: RegExp): boolean;
|
||||
}
|
||||
|
||||
interface NameValueMatcher {
|
||||
(name: string, value?: string): bool;
|
||||
(name: string, value?: string): boolean;
|
||||
}
|
||||
|
||||
interface Have {
|
||||
attr: NameValueMatcher;
|
||||
css: NameValueMatcher;
|
||||
data: NameValueMatcher;
|
||||
class(className: string): bool;
|
||||
id(id: string): bool;
|
||||
html(html: string): bool;
|
||||
text(text: string): bool;
|
||||
value(text: string): bool;
|
||||
(selector: string): bool;
|
||||
class(className: string): boolean;
|
||||
id(id: string): boolean;
|
||||
html(html: string): boolean;
|
||||
text(text: string): boolean;
|
||||
value(text: string): boolean;
|
||||
(selector: string): boolean;
|
||||
}
|
||||
|
||||
interface Be {
|
||||
visible: bool;
|
||||
hidden: bool;
|
||||
selected: bool;
|
||||
checked: bool;
|
||||
disabled: bool;
|
||||
(selector: string): bool;
|
||||
visible: boolean;
|
||||
hidden: boolean;
|
||||
selected: boolean;
|
||||
checked: boolean;
|
||||
disabled: boolean;
|
||||
(selector: string): boolean;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user