mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Added definitions for chai-datetime
- Added explicit "any" types to chai definitions
This commit is contained in:
Vendored
+16
-16
@@ -9,28 +9,28 @@ declare module chai {
|
||||
function expect(target: any, message?: string): Expect;
|
||||
|
||||
// Provides a way to extend the internals of Chai
|
||||
function use(fn: (chai: any, utils: any) => void);
|
||||
function use(fn: (chai: any, utils: any) => void): any;
|
||||
|
||||
interface ExpectStatic {
|
||||
(target: any): Expect;
|
||||
}
|
||||
|
||||
interface Assertions {
|
||||
attr(name, value?);
|
||||
css(name, value?);
|
||||
data(name, value?);
|
||||
class(className);
|
||||
id(id);
|
||||
html(html);
|
||||
text(text);
|
||||
value(value);
|
||||
visible;
|
||||
hidden;
|
||||
selected;
|
||||
checked;
|
||||
disabled;
|
||||
empty;
|
||||
exist;
|
||||
attr(name: string, value?: string): any;
|
||||
css(name: string, value?: string): any;
|
||||
data(name: string, value?: string): any;
|
||||
class(className: string): any;
|
||||
id(id: string): any;
|
||||
html(html: string): any;
|
||||
text(text: string): any;
|
||||
value(value: string): any;
|
||||
visible: any;
|
||||
hidden: any;
|
||||
selected: any;
|
||||
checked: any;
|
||||
disabled: any;
|
||||
empty: any;
|
||||
exist: any;
|
||||
}
|
||||
|
||||
interface Expect extends LanguageChains, NumericComparison, TypeComparison, Assertions {
|
||||
|
||||
Reference in New Issue
Block a user