mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-24 11:29:30 +08:00
reformated the definition file to tab=2
This commit is contained in:
+78
-78
@@ -22,87 +22,87 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
/// <reference path="../jasmine/jasmine.d.ts" />
|
||||
|
||||
declare module jasmine {
|
||||
interface Matchers {
|
||||
// These functions are written in the order defined in the src directory of jasmine-matchers
|
||||
// The type system is used smartly whenever it can provide value (by looking at the code of every matcher)
|
||||
toBeAfter(otherDate: Date): boolean; //
|
||||
toBeArray(): boolean; //
|
||||
toBeArrayOfBooleans(): boolean; //
|
||||
toBeArrayOfNumbers(): boolean;
|
||||
toBeArrayOfObjects(): boolean;
|
||||
toBeArrayOfSize(size: number): boolean;
|
||||
toBeArrayOfStrings(): boolean;
|
||||
toBeBefore(otherDate: Date): boolean; //
|
||||
toBeBoolean(): boolean;
|
||||
toBeCalculable(): boolean;
|
||||
toBeDate(): boolean;
|
||||
toBeEmptyArray(): boolean;
|
||||
toBeEmptyObject(): boolean;
|
||||
toBeEmptyString(): boolean;
|
||||
toBeEvenNumber(): boolean;
|
||||
toBeFalse(): boolean;
|
||||
toBeFunction(): boolean;
|
||||
toBeHtmlString(): boolean;
|
||||
toBeIso8601(): boolean;
|
||||
toBeJsonString(): boolean;
|
||||
toBeLongerThan(other: string): boolean;
|
||||
toBeNonEmptyArray(): boolean;
|
||||
toBeNonEmptyObject(): boolean;
|
||||
toBeNonEmptyString(): boolean;
|
||||
toBeNumber(): boolean;
|
||||
toBeObject(): boolean;
|
||||
toBeOddNumber(): boolean;
|
||||
toBeSameLengthAs(other: string): boolean;
|
||||
toBeShorterThan(other: string): boolean;
|
||||
toBeString(): boolean;
|
||||
toBeTrue(): boolean;
|
||||
toBeWhitespace(): boolean;
|
||||
toBeWholeNumber(): boolean;
|
||||
toBeWithinRange(floor: number, ceiling: number): boolean;
|
||||
interface Matchers {
|
||||
// These functions are written in the order defined in the src directory of jasmine-matchers
|
||||
// The type system is used smartly whenever it can provide value (by looking at the code of every matcher)
|
||||
toBeAfter(otherDate: Date): boolean; //
|
||||
toBeArray(): boolean; //
|
||||
toBeArrayOfBooleans(): boolean; //
|
||||
toBeArrayOfNumbers(): boolean;
|
||||
toBeArrayOfObjects(): boolean;
|
||||
toBeArrayOfSize(size: number): boolean;
|
||||
toBeArrayOfStrings(): boolean;
|
||||
toBeBefore(otherDate: Date): boolean; //
|
||||
toBeBoolean(): boolean;
|
||||
toBeCalculable(): boolean;
|
||||
toBeDate(): boolean;
|
||||
toBeEmptyArray(): boolean;
|
||||
toBeEmptyObject(): boolean;
|
||||
toBeEmptyString(): boolean;
|
||||
toBeEvenNumber(): boolean;
|
||||
toBeFalse(): boolean;
|
||||
toBeFunction(): boolean;
|
||||
toBeHtmlString(): boolean;
|
||||
toBeIso8601(): boolean;
|
||||
toBeJsonString(): boolean;
|
||||
toBeLongerThan(other: string): boolean;
|
||||
toBeNonEmptyArray(): boolean;
|
||||
toBeNonEmptyObject(): boolean;
|
||||
toBeNonEmptyString(): boolean;
|
||||
toBeNumber(): boolean;
|
||||
toBeObject(): boolean;
|
||||
toBeOddNumber(): boolean;
|
||||
toBeSameLengthAs(other: string): boolean;
|
||||
toBeShorterThan(other: string): boolean;
|
||||
toBeString(): boolean;
|
||||
toBeTrue(): boolean;
|
||||
toBeWhitespace(): boolean;
|
||||
toBeWholeNumber(): boolean;
|
||||
toBeWithinRange(floor: number, ceiling: number): boolean;
|
||||
|
||||
toEndWith(subString: string): boolean;
|
||||
toEndWith(subString: string): boolean;
|
||||
|
||||
toHaveArray(key: string): boolean;
|
||||
toHaveArrayOfBooleans(key: string): boolean;
|
||||
toHaveArrayOfNumbers(key: string): boolean;
|
||||
toHaveArrayOfObjects(key: string): boolean;
|
||||
toHaveArrayOfSize(key: string, size?: number): boolean;
|
||||
toHaveArrayOfStrings(key: string): boolean;
|
||||
toHaveBoolean(key: string): boolean;
|
||||
toHaveCalculable(key: string): boolean;
|
||||
toHaveDate(key: string): boolean;
|
||||
toHaveDateAfter(key: string, otherDate: Date): boolean;
|
||||
toHaveDateBefore(key: string, otherDate: Date): boolean;
|
||||
toHaveEmptyArray(key: string): boolean;
|
||||
toHaveEmptyObject(key: string): boolean;
|
||||
toHaveEmptyString(key: string): boolean;
|
||||
toHaveEvenNumber(key: string): boolean;
|
||||
toHaveFalse(key: string): boolean;
|
||||
toHaveHtmlString(key: string): boolean;
|
||||
toHaveIso8601(key: string): boolean;
|
||||
toHaveJsonString(key: string): boolean;
|
||||
toHaveMember(key: string): boolean;
|
||||
toHaveMethod(key: string): boolean;
|
||||
toHaveNonEmptyArray(key: string): boolean;
|
||||
toHaveNonEmptyObject(key: string): boolean;
|
||||
toHaveNonEmptyString(key: string): boolean;
|
||||
toHaveNumber(key: string): boolean;
|
||||
toHaveNumberWithinRange(key: string, floor: number, ceiling: number): boolean;
|
||||
toHaveObject(key: string): boolean;
|
||||
toHaveOddNumber(key: string): boolean;
|
||||
toHaveString(key: string): boolean;
|
||||
toHaveStringLongerThan(key: string, other: string): boolean;
|
||||
toHaveStringSameLengthAs(key: string, other: string): boolean;
|
||||
toHaveStringShorterThan(key: string, other: string): boolean;
|
||||
toHaveTrue(key: string): boolean;
|
||||
toHaveWhitespaceString(key: string): boolean;
|
||||
toHaveWholeNumber(key: string): boolean;
|
||||
toHaveArray(key: string): boolean;
|
||||
toHaveArrayOfBooleans(key: string): boolean;
|
||||
toHaveArrayOfNumbers(key: string): boolean;
|
||||
toHaveArrayOfObjects(key: string): boolean;
|
||||
toHaveArrayOfSize(key: string, size?: number): boolean;
|
||||
toHaveArrayOfStrings(key: string): boolean;
|
||||
toHaveBoolean(key: string): boolean;
|
||||
toHaveCalculable(key: string): boolean;
|
||||
toHaveDate(key: string): boolean;
|
||||
toHaveDateAfter(key: string, otherDate: Date): boolean;
|
||||
toHaveDateBefore(key: string, otherDate: Date): boolean;
|
||||
toHaveEmptyArray(key: string): boolean;
|
||||
toHaveEmptyObject(key: string): boolean;
|
||||
toHaveEmptyString(key: string): boolean;
|
||||
toHaveEvenNumber(key: string): boolean;
|
||||
toHaveFalse(key: string): boolean;
|
||||
toHaveHtmlString(key: string): boolean;
|
||||
toHaveIso8601(key: string): boolean;
|
||||
toHaveJsonString(key: string): boolean;
|
||||
toHaveMember(key: string): boolean;
|
||||
toHaveMethod(key: string): boolean;
|
||||
toHaveNonEmptyArray(key: string): boolean;
|
||||
toHaveNonEmptyObject(key: string): boolean;
|
||||
toHaveNonEmptyString(key: string): boolean;
|
||||
toHaveNumber(key: string): boolean;
|
||||
toHaveNumberWithinRange(key: string, floor: number, ceiling: number): boolean;
|
||||
toHaveObject(key: string): boolean;
|
||||
toHaveOddNumber(key: string): boolean;
|
||||
toHaveString(key: string): boolean;
|
||||
toHaveStringLongerThan(key: string, other: string): boolean;
|
||||
toHaveStringSameLengthAs(key: string, other: string): boolean;
|
||||
toHaveStringShorterThan(key: string, other: string): boolean;
|
||||
toHaveTrue(key: string): boolean;
|
||||
toHaveWhitespaceString(key: string): boolean;
|
||||
toHaveWholeNumber(key: string): boolean;
|
||||
|
||||
toImplement(api: {}): boolean;
|
||||
toImplement(api: {}): boolean;
|
||||
|
||||
toStartWith(subString: string): boolean;
|
||||
toStartWith(subString: string): boolean;
|
||||
|
||||
toThrowAnyError(): boolean;
|
||||
toThrowErrorOfType(type: string): boolean;
|
||||
}
|
||||
toThrowAnyError(): boolean;
|
||||
toThrowErrorOfType(type: string): boolean;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user