mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-16 12:50:42 +08:00
chai-jquery bool -> boolean
This commit is contained in:
1 parent
165bcadbbc
commit
ffe50732f6
1 file changed
+14
-14
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