chai-jquery bool -> boolean

This commit is contained in:
jraymakers
2013-08-07 00:00:42 -07:00
parent 165bcadbbc
commit ffe50732f6
+14 -14
View File
@@ -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;
}
}