mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
WIP
This commit is contained in:
Vendored
+6
-6
@@ -10,7 +10,7 @@ export as namespace c3;
|
||||
|
||||
declare namespace c3 {
|
||||
|
||||
type PrimitiveArray = (string | boolean | number)[];
|
||||
type PrimitiveArray = Array<string | boolean | number>;
|
||||
type FormatFunction = (v: any, id: string, i: number, j: number) => void;
|
||||
|
||||
interface TargetIds {
|
||||
@@ -258,7 +258,7 @@ declare namespace c3 {
|
||||
/**
|
||||
* Parse a JSON object for data.
|
||||
*/
|
||||
json?: Object;
|
||||
json?: {};
|
||||
/**
|
||||
* Load data from a multidimensional array, with the first element containing the data names, the following containing related data in that order.
|
||||
*/
|
||||
@@ -823,7 +823,7 @@ declare namespace c3 {
|
||||
*/
|
||||
load(args: {
|
||||
url?: string;
|
||||
json?: Object;
|
||||
json?: {};
|
||||
keys?: { x?: string; value: string[]; }
|
||||
rows?: PrimitiveArray[];
|
||||
columns?: PrimitiveArray[];
|
||||
@@ -854,7 +854,7 @@ declare namespace c3 {
|
||||
* If done is given, the specified function will be called when flow ends.
|
||||
*/
|
||||
flow(args: {
|
||||
json?: Object;
|
||||
json?: {};
|
||||
keys?: { x?: string; value: string[]; }
|
||||
rows?: PrimitiveArray[];
|
||||
columns?: PrimitiveArray[];
|
||||
@@ -907,7 +907,7 @@ declare namespace c3 {
|
||||
* Add new region. This API adds new region instead of replacing like regions.
|
||||
* @param grids New region will be added. The format of this argument is the same as regions and it's possible to give an Object if only one region will be added.
|
||||
*/
|
||||
add(regions: any[] | Object): void;
|
||||
add(regions: any[] | {}): void;
|
||||
/**
|
||||
* Remove regions. This API removes regions.
|
||||
* @param args This argument should include classes. If classes is given, the regions that have one of the specified classes will be removed. If args is not given, all of regions will be removed.
|
||||
@@ -1060,7 +1060,7 @@ declare namespace c3 {
|
||||
* Add x/y grid lines. This API adds new x/y grid lines instead of replacing like xgrids.
|
||||
* @param grids New x/y grid lines will be added. The format of this argument is the same as grid.x.lines or grid.y.lines and it's possible to give an Object if only one line will be added.
|
||||
*/
|
||||
add(grids: any[] | Object): void;
|
||||
add(grids: any[] | {}): void;
|
||||
/**
|
||||
* Remove x/y grid lines. This API removes x/y grid lines.
|
||||
* @param args This argument should include value or class. If value is given, the x/y grid lines that have specified x/y value will be removed. If class is given, the x/y grid lines that have specified class will be removed. If args is not given, all of x/y grid lines will be removed.
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
Vendored
+9
-23
@@ -105,11 +105,11 @@ declare namespace CamlBuilder {
|
||||
interface IFieldExpression {
|
||||
/** Adds And clauses to the query. Use for creating bracket-expressions in conjuction with CamlBuilder.Expression(). */
|
||||
All(...conditions: IExpression[]): IExpression;
|
||||
/** Adds Or clauses to the query. Use for creating bracket-expressions in conjuction with CamlBuilder.Expression(). */
|
||||
Any(...conditions: IExpression[]): IExpression;
|
||||
/** Adds And clauses to the query. Use for creating bracket-expressions in conjuction with CamlBuilder.Expression(). */
|
||||
All(conditions: IExpression[]): IExpression;
|
||||
/** Adds Or clauses to the query. Use for creating bracket-expressions in conjuction with CamlBuilder.Expression(). */
|
||||
Any(...conditions: IExpression[]): IExpression;
|
||||
/** Adds Or clauses to the query. Use for creating bracket-expressions in conjuction with CamlBuilder.Expression(). */
|
||||
Any(conditions: IExpression[]): IExpression;
|
||||
/** Specifies that a condition will be tested against the field with the specified internal name, and the type of this field is Text */
|
||||
TextField(internalName: string): ITextFieldExpression;
|
||||
@@ -189,41 +189,27 @@ declare namespace CamlBuilder {
|
||||
IsNull(): IExpression;
|
||||
/** Checks whether the value of the field was not specified by user */
|
||||
IsNotNull(): IExpression;
|
||||
/** Checks whether the value of the field is equal to the specified value */
|
||||
EqualTo(value: Date): IExpression;
|
||||
/** Checks whether the value of the field is not equal to the specified value */
|
||||
NotEqualTo(value: Date): IExpression;
|
||||
/** Checks whether the value of the field is greater than the specified value */
|
||||
GreaterThan(value: Date): IExpression;
|
||||
/** Checks whether the value of the field is less than the specified value */
|
||||
LessThan(value: Date): IExpression;
|
||||
/** Checks whether the value of the field is greater than or equal to the specified value */
|
||||
GreaterThanOrEqualTo(value: Date): IExpression;
|
||||
/** Checks whether the value of the field is less than or equal to the specified value */
|
||||
LessThanOrEqualTo(value: Date): IExpression;
|
||||
/** Checks whether the value of the field is equal to one of the specified values */
|
||||
In(arrayOfValues: Date[]): IExpression;
|
||||
/** Checks whether the value of the field is equal to the specified value.
|
||||
The datetime value should be defined in ISO 8601 format! */
|
||||
EqualTo(value: string): IExpression;
|
||||
EqualTo(value: Date | string): IExpression;
|
||||
/** Checks whether the value of the field is not equal to the specified value.
|
||||
The datetime value should be defined in ISO 8601 format! */
|
||||
NotEqualTo(value: string): IExpression;
|
||||
NotEqualTo(value: Date | string): IExpression;
|
||||
/** Checks whether the value of the field is greater than the specified value.
|
||||
The datetime value should be defined in ISO 8601 format! */
|
||||
GreaterThan(value: string): IExpression;
|
||||
GreaterThan(value: Date | string): IExpression;
|
||||
/** Checks whether the value of the field is less than the specified value.
|
||||
The datetime value should be defined in ISO 8601 format! */
|
||||
LessThan(value: string): IExpression;
|
||||
LessThan(value: Date | string): IExpression;
|
||||
/** Checks whether the value of the field is greater than or equal to the specified value.
|
||||
The datetime value should be defined in ISO 8601 format! */
|
||||
GreaterThanOrEqualTo(value: string): IExpression;
|
||||
GreaterThanOrEqualTo(value: Date | string): IExpression;
|
||||
/** Checks whether the value of the field is less than or equal to the specified value.
|
||||
The datetime value should be defined in ISO 8601 format! */
|
||||
LessThanOrEqualTo(value: string): IExpression;
|
||||
LessThanOrEqualTo(value: Date | string): IExpression;
|
||||
/** Checks whether the value of the field is equal to one of the specified values.
|
||||
The datetime value should be defined in ISO 8601 format! */
|
||||
In(arrayOfValues: string[]): IExpression;
|
||||
In(arrayOfValues: Date[] | string[]): IExpression;
|
||||
}
|
||||
interface ITextFieldExpression {
|
||||
/** Checks whether the value of the field is equal to the specified value */
|
||||
|
||||
+6
-1
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
+6
-1
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
Vendored
+8
-18
@@ -31,10 +31,7 @@ interface Casper extends EventEmitter {
|
||||
click(selector: string): boolean;
|
||||
clickLabel(label: string, tag?: string): boolean;
|
||||
capture(targetFilePath: string, clipRect: ClipRect): Casper;
|
||||
captureBase64(format: string): string;
|
||||
captureBase64(format: string, area: string): string;
|
||||
captureBase64(format: string, area: ClipRect): string;
|
||||
captureBase64(format: string, area: any): string;
|
||||
captureBase64(format: string, area?: string | ClipRect | any): string;
|
||||
captureSelector(targetFile: string, selector: string): Casper;
|
||||
clear(): Casper;
|
||||
debugHTML(selector?: string, outer?: boolean): Casper;
|
||||
@@ -69,8 +66,7 @@ interface Casper extends EventEmitter {
|
||||
open(location: string, settings: OpenSettings): Casper;
|
||||
reload(then?: (response: HttpResponse) => void): Casper;
|
||||
repeat(times: number, then: Function): Casper;
|
||||
resourceExists(test: Function): boolean;
|
||||
resourceExists(test: string): boolean;
|
||||
resourceExists(test: Function | string): boolean;
|
||||
run(onComplete: Function, time?: number): Casper;
|
||||
scrollTo(x: number, y: number): Casper;
|
||||
scrollToBottom(): Casper;
|
||||
@@ -95,22 +91,17 @@ interface Casper extends EventEmitter {
|
||||
wait(timeout: number, then?: Function): Casper;
|
||||
waitFor(testFx: Function, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForAlert(then: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForPopup(urlPattern: string, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForPopup(urlPattern: RegExp, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForUrl(url: string, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForUrl(url: RegExp, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForPopup(urlPattern: string | RegExp, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForUrl(url: string | RegExp, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForSelector(selector: string, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitWhileSelector(selector: string, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForResource(testFx: Function, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForText(pattern: string, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForText(pattern: RegExp, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitForText(pattern: string | RegExp, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitUntilVisible(selector: string, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
waitWhileVisible(selector: string, then?: Function, onTimeout?: Function, timeout?: number): Casper;
|
||||
warn(message: string): Casper;
|
||||
withFrame(frameInfo: string, then: Function): Casper;
|
||||
withFrame(frameInfo: number, then: Function): Casper;
|
||||
withPopup(popupInfo: string, step: Function): Casper;
|
||||
withPopup(popupInfo: RegExp, step: Function): Casper;
|
||||
withFrame(frameInfo: string | number, then: Function): Casper;
|
||||
withPopup(popupInfo: string | RegExp, step: Function): Casper;
|
||||
zoom(factor: number): Casper;
|
||||
}
|
||||
|
||||
@@ -237,8 +228,7 @@ interface Tester {
|
||||
assertTruthy(subject: any, message?: string): any;
|
||||
assertType(input: any, type: string, message?: string): any;
|
||||
assertInstanceOf(input: any, ctor: Function, message?: string): any;
|
||||
assertUrlMatch(pattern: string, message?: string): any;
|
||||
assertUrlMatch(pattern: RegExp, message?: string): any;
|
||||
assertUrlMatch(pattern: string | RegExp, message?: string): any;
|
||||
assertVisible(selector: string, message?: string): any;
|
||||
|
||||
/* since 1.1 */
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false,
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
Vendored
+3
-6
@@ -185,8 +185,7 @@ declare namespace Chai {
|
||||
becomes(promise: PromisesAPlus.Thenable<any>, expected: any, message?: string): PromisesAPlus.Thenable<void>;
|
||||
doesNotBecome(promise: PromisesAPlus.Thenable<any>, expected: any, message?: string): PromisesAPlus.Thenable<void>;
|
||||
isRejected(promise: PromisesAPlus.Thenable<any>, message?: string): PromisesAPlus.Thenable<void>;
|
||||
isRejected(promise: PromisesAPlus.Thenable<any>, expected: any, message?: string): PromisesAPlus.Thenable<void>;
|
||||
isRejected(promise: PromisesAPlus.Thenable<any>, match: RegExp, message?: string): PromisesAPlus.Thenable<void>;
|
||||
isRejected(promise: PromisesAPlus.Thenable<any>, expected: RegExp | any, message?: string): PromisesAPlus.Thenable<void>;
|
||||
notify(fn: Function): PromisesAPlus.Thenable<void>;
|
||||
}
|
||||
|
||||
@@ -238,11 +237,9 @@ declare namespace Chai {
|
||||
instanceOf(val: any, type: Function, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
notInstanceOf(val: any, type: Function, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
|
||||
include(exp: string, inc: any, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
include(exp: any[], inc: any, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
include(exp: string | any[], inc: any, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
|
||||
notInclude(exp: string, inc: any, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
notInclude(exp: any[], inc: any, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
notInclude(exp: string | any[], inc: any, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
|
||||
match(exp: any, re: RegExp, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
notMatch(exp: any, re: RegExp, msg?: string): PromisesAPlus.Thenable<void>;
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
Vendored
+3
-4
@@ -20,8 +20,7 @@ declare namespace Chai {
|
||||
|
||||
interface Assertion {
|
||||
status(code: number): Assertion;
|
||||
header(key: string, value?: string): Assertion;
|
||||
header(key: string, value?: RegExp): Assertion;
|
||||
header(key: string, value?: string | RegExp): Assertion;
|
||||
headers: Assertion;
|
||||
json: Assertion;
|
||||
text: Assertion;
|
||||
@@ -51,8 +50,8 @@ declare namespace ChaiHttp {
|
||||
interface Request extends FinishedRequest {
|
||||
attach(field: string, file: string|Buffer, filename: string): Request;
|
||||
set(field: string, val: string): Request;
|
||||
query(params: Object): Request;
|
||||
send(data: Object): Request;
|
||||
query(params: {}): Request;
|
||||
send(data: {}): Request;
|
||||
auth(user: string, name: string): Request;
|
||||
field(name: string, val: string): Request;
|
||||
end(callback?: (err: any, res: Response) => void): FinishedRequest;
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false,
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
Vendored
+52
-52
@@ -17,7 +17,7 @@ declare namespace Chai {
|
||||
* ```ts
|
||||
* expect(spy).to.be.spy;
|
||||
* spy.should.be.spy;
|
||||
* ```
|
||||
* ```
|
||||
*/
|
||||
spy: Assertion;
|
||||
|
||||
@@ -28,7 +28,7 @@ declare namespace Chai {
|
||||
* expect(spy).to.have.been.called();
|
||||
* spy.should.have.been.called();
|
||||
* ```
|
||||
* Note that ```called``` can be used as a chainable method.
|
||||
* Note that ```called``` can be used as a chainable method.
|
||||
*/
|
||||
called: ChaiSpies.Called;
|
||||
}
|
||||
@@ -46,9 +46,9 @@ declare namespace ChaiSpies {
|
||||
* var spy = chai.spy(original)
|
||||
* , e_spy = chai.spy();
|
||||
* ```
|
||||
* @param fn function to spy on. @default ```function () {}```
|
||||
* @param fn function to spy on. @default ```function () {}```
|
||||
* @returns function to actually call
|
||||
*/
|
||||
*/
|
||||
(): SpyFunc0Proxy<void>;
|
||||
<R>(fn: SpyFunc0<R>): SpyFunc0Proxy<R>;
|
||||
<A1, R>(fn: SpyFunc1<A1, R>): SpyFunc1Proxy<A1, R>;
|
||||
@@ -83,8 +83,8 @@ declare namespace ChaiSpies {
|
||||
* @param {Object} object
|
||||
* @param {String} method name to spy on
|
||||
* @returns function to actually call
|
||||
*/
|
||||
on(object: Object, ...methodNames: string[]): any;
|
||||
*/
|
||||
on(object: {}, ...methodNames: string[]): any;
|
||||
|
||||
/**
|
||||
* #### chai.spy.object (function)
|
||||
@@ -97,10 +97,10 @@ declare namespace ChaiSpies {
|
||||
* @param {String[]|Object} method names or method definitions
|
||||
* @returns object with spied methods
|
||||
*/
|
||||
object(name: string, methods: string[]): any;
|
||||
object(methods: string[]): any;
|
||||
object<T>(name: string, methods: T): T;
|
||||
object<T>(methods: T): T;
|
||||
object(name: string, methods: string[]): any;
|
||||
object(methods: string[]): any;
|
||||
object<T>(name: string, methods: T): T;
|
||||
object<T>(methods: T): T;
|
||||
|
||||
/**
|
||||
* #### chai.spy.returns (function)
|
||||
@@ -132,12 +132,12 @@ declare namespace ChaiSpies {
|
||||
* spy.should.not.have.been.called.once;
|
||||
* ```
|
||||
*/
|
||||
once: Chai.Assertion;
|
||||
once: Chai.Assertion;
|
||||
|
||||
/**
|
||||
* ####.twice
|
||||
* Assert that a spy has been called exactly twice.
|
||||
* ```ts
|
||||
* ```ts
|
||||
* expect(spy).to.have.been.called.twice;
|
||||
* expect(spy).to.not.have.been.called.twice;
|
||||
* spy.should.have.been.called.twice;
|
||||
@@ -189,7 +189,7 @@ declare namespace ChaiSpies {
|
||||
* ```ts
|
||||
* expect(spy).to.have.been.called.above(3);
|
||||
* spy.should.not.have.been.called.above(3);
|
||||
* ```
|
||||
* ```
|
||||
*/
|
||||
above(n: number): Chai.Assertion;
|
||||
|
||||
@@ -199,7 +199,7 @@ declare namespace ChaiSpies {
|
||||
* ```ts
|
||||
* expect(spy).to.have.been.called.gt(3);
|
||||
* spy.should.not.have.been.called.gt(3);
|
||||
* ```
|
||||
* ```
|
||||
*/
|
||||
gt(n: number): Chai.Assertion;
|
||||
|
||||
@@ -209,7 +209,7 @@ declare namespace ChaiSpies {
|
||||
* ```ts
|
||||
* expect(spy).to.have.been.called.below(3);
|
||||
* spy.should.not.have.been.called.below(3);
|
||||
* ```
|
||||
* ```
|
||||
*/
|
||||
below(n: number): Chai.Assertion;
|
||||
|
||||
@@ -219,7 +219,7 @@ declare namespace ChaiSpies {
|
||||
* ```ts
|
||||
* expect(spy).to.have.been.called.lt(3);
|
||||
* spy.should.not.have.been.called.lt(3);
|
||||
* ```
|
||||
* ```
|
||||
*/
|
||||
lt(n: number): Chai.Assertion;
|
||||
}
|
||||
@@ -234,7 +234,7 @@ declare namespace ChaiSpies {
|
||||
* spy.should.have.been.called.with('foo');
|
||||
* ```
|
||||
* Will also pass for ```spy('foo', 'bar')``` and ```spy(); spy('foo')```.
|
||||
* If used with multiple arguments, assert that a spy has been called with all the given arguments at least once.
|
||||
* If used with multiple arguments, assert that a spy has been called with all the given arguments at least once.
|
||||
* ```ts
|
||||
* spy('foo', 'bar', 1);
|
||||
* expect(spy).to.have.been.called.with('bar', 'foo');
|
||||
@@ -322,7 +322,7 @@ declare namespace ChaiSpies {
|
||||
*
|
||||
* Resets __spy object parameters for instantiation and reuse
|
||||
* @returns proxy spy object
|
||||
*/
|
||||
*/
|
||||
reset(): this;
|
||||
}
|
||||
|
||||
@@ -330,77 +330,77 @@ declare namespace ChaiSpies {
|
||||
(): R;
|
||||
}
|
||||
|
||||
interface SpyFunc1<A1, R> {
|
||||
(a: A1): R;
|
||||
interface SpyFunc1<A1, R> {
|
||||
(a: A1): R;
|
||||
}
|
||||
|
||||
interface SpyFunc2<A1, A2, R> {
|
||||
(a: A1, b: A2): R;
|
||||
interface SpyFunc2<A1, A2, R> {
|
||||
(a: A1, b: A2): R;
|
||||
}
|
||||
|
||||
interface SpyFunc3<A1, A2, A3, R> {
|
||||
(a: A1, b: A2, c: A3): R;
|
||||
interface SpyFunc3<A1, A2, A3, R> {
|
||||
(a: A1, b: A2, c: A3): R;
|
||||
}
|
||||
|
||||
interface SpyFunc4<A1, A2, A3, A4, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4): R;
|
||||
interface SpyFunc4<A1, A2, A3, A4, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4): R;
|
||||
}
|
||||
|
||||
interface SpyFunc5<A1, A2, A3, A4, A5, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5): R;
|
||||
interface SpyFunc5<A1, A2, A3, A4, A5, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5): R;
|
||||
}
|
||||
|
||||
interface SpyFunc6<A1, A2, A3, A4, A5, A6, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6): R;
|
||||
interface SpyFunc6<A1, A2, A3, A4, A5, A6, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6): R;
|
||||
}
|
||||
|
||||
interface SpyFunc7<A1, A2, A3, A4, A5, A6, A7, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6, g: A7): R;
|
||||
interface SpyFunc7<A1, A2, A3, A4, A5, A6, A7, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6, g: A7): R;
|
||||
}
|
||||
|
||||
interface SpyFunc8<A1, A2, A3, A4, A5, A6, A7, A8, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6, g: A7, h: A8): R;
|
||||
interface SpyFunc8<A1, A2, A3, A4, A5, A6, A7, A8, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6, g: A7, h: A8): R;
|
||||
}
|
||||
|
||||
interface SpyFunc9<A1, A2, A3, A4, A5, A6, A7, A8, A9, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6, g: A7, h: A8, i: A9): R;
|
||||
|
||||
interface SpyFunc9<A1, A2, A3, A4, A5, A6, A7, A8, A9, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6, g: A7, h: A8, i: A9): R;
|
||||
}
|
||||
|
||||
interface SpyFunc10<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6, g: A7, h: A8, i: A9, j: A10): R;
|
||||
|
||||
interface SpyFunc10<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, R> {
|
||||
(a: A1, b: A2, c: A3, d: A4, e: A5, f: A6, g: A7, h: A8, i: A9, j: A10): R;
|
||||
}
|
||||
|
||||
interface SpyFunc0Proxy<R> extends SpyFunc0<R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc1Proxy<A1, R> extends SpyFunc1<A1, R>, Resetable {
|
||||
interface SpyFunc1Proxy<A1, R> extends SpyFunc1<A1, R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc2Proxy<A1, A2, R> extends SpyFunc2<A1, A2, R>, Resetable {
|
||||
interface SpyFunc2Proxy<A1, A2, R> extends SpyFunc2<A1, A2, R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc3Proxy<A1, A2, A3, R> extends SpyFunc3<A1, A2, A3, R>, Resetable {
|
||||
interface SpyFunc3Proxy<A1, A2, A3, R> extends SpyFunc3<A1, A2, A3, R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc4Proxy<A1, A2, A3, A4, R> extends SpyFunc4<A1, A2, A3, A4, R>, Resetable {
|
||||
interface SpyFunc4Proxy<A1, A2, A3, A4, R> extends SpyFunc4<A1, A2, A3, A4, R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc5Proxy<A1, A2, A3, A4, A5, R> extends SpyFunc5<A1, A2, A3, A4, A5, R>, Resetable {
|
||||
interface SpyFunc5Proxy<A1, A2, A3, A4, A5, R> extends SpyFunc5<A1, A2, A3, A4, A5, R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc6Proxy<A1, A2, A3, A4, A5, A6, R> extends SpyFunc6<A1, A2, A3, A4, A5, A6, R>, Resetable {
|
||||
interface SpyFunc6Proxy<A1, A2, A3, A4, A5, A6, R> extends SpyFunc6<A1, A2, A3, A4, A5, A6, R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc7Proxy<A1, A2, A3, A4, A5, A6, A7, R> extends SpyFunc7<A1, A2, A3, A4, A5, A6, A7, R>, Resetable {
|
||||
interface SpyFunc7Proxy<A1, A2, A3, A4, A5, A6, A7, R> extends SpyFunc7<A1, A2, A3, A4, A5, A6, A7, R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc8Proxy<A1, A2, A3, A4, A5, A6, A7, A8, R> extends SpyFunc8<A1, A2, A3, A4, A5, A6, A7, A8, R>, Resetable {
|
||||
interface SpyFunc8Proxy<A1, A2, A3, A4, A5, A6, A7, A8, R> extends SpyFunc8<A1, A2, A3, A4, A5, A6, A7, A8, R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc9Proxy<A1, A2, A3, A4, A5, A6, A7, A8, A9, R> extends SpyFunc9<A1, A2, A3, A4, A5, A6, A7, A8, A9, R>, Resetable {
|
||||
|
||||
interface SpyFunc9Proxy<A1, A2, A3, A4, A5, A6, A7, A8, A9, R> extends SpyFunc9<A1, A2, A3, A4, A5, A6, A7, A8, A9, R>, Resetable {
|
||||
}
|
||||
|
||||
interface SpyFunc10Proxy<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, R> extends SpyFunc10<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, R>, Resetable {
|
||||
|
||||
interface SpyFunc10Proxy<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, R> extends SpyFunc10<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, R>, Resetable {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
Vendored
+2
-4
@@ -233,11 +233,9 @@ declare namespace Chai {
|
||||
instanceOf(val: any, type: Function, msg?: string): void;
|
||||
notInstanceOf(val: any, type: Function, msg?: string): void;
|
||||
|
||||
include(exp: string, inc: any, msg?: string): void;
|
||||
include(exp: any[], inc: any, msg?: string): void;
|
||||
include(exp: string | any[], inc: any, msg?: string): void;
|
||||
|
||||
notInclude(exp: string, inc: any, msg?: string): void;
|
||||
notInclude(exp: any[], inc: any, msg?: string): void;
|
||||
notInclude(exp: string | any[], inc: any, msg?: string): void;
|
||||
|
||||
match(exp: any, re: RegExp, msg?: string): void;
|
||||
notMatch(exp: any, re: RegExp, msg?: string): void;
|
||||
|
||||
Vendored
+2
-4
@@ -298,11 +298,9 @@ declare namespace Chai {
|
||||
instanceOf(val: any, type: Function, msg?: string): void;
|
||||
notInstanceOf(val: any, type: Function, msg?: string): void;
|
||||
|
||||
include(exp: string, inc: any, msg?: string): void;
|
||||
include(exp: any[], inc: any, msg?: string): void;
|
||||
include(exp: string | any[], inc: any, msg?: string): void;
|
||||
|
||||
notInclude(exp: string, inc: any, msg?: string): void;
|
||||
notInclude(exp: any[], inc: any, msg?: string): void;
|
||||
notInclude(exp: string | any[], inc: any, msg?: string): void;
|
||||
|
||||
match(exp: any, re: RegExp, msg?: string): void;
|
||||
notMatch(exp: any, re: RegExp, msg?: string): void;
|
||||
|
||||
Vendored
+2
-4
@@ -309,11 +309,9 @@ declare namespace Chai {
|
||||
instanceOf(val: any, type: Function, msg?: string): void;
|
||||
notInstanceOf(val: any, type: Function, msg?: string): void;
|
||||
|
||||
include(exp: string, inc: any, msg?: string): void;
|
||||
include(exp: any[], inc: any, msg?: string): void;
|
||||
include(exp: string | any[], inc: any, msg?: string): void;
|
||||
|
||||
notInclude(exp: string, inc: any, msg?: string): void;
|
||||
notInclude(exp: any[], inc: any, msg?: string): void;
|
||||
notInclude(exp: string | any[], inc: any, msg?: string): void;
|
||||
|
||||
match(exp: any, re: RegExp, msg?: string): void;
|
||||
notMatch(exp: any, re: RegExp, msg?: string): void;
|
||||
|
||||
+6
-1
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
Vendored
+4
-4
@@ -12,9 +12,9 @@ declare namespace Chance {
|
||||
type SeededChance = Chance & Seeded;
|
||||
|
||||
interface ChanceStatic {
|
||||
(): Chance
|
||||
(seed: number): SeededChance
|
||||
(generator: () => any): Chance
|
||||
(): Chance;
|
||||
(seed: number): SeededChance;
|
||||
(generator: () => any): Chance;
|
||||
|
||||
new(): Chance;
|
||||
new(seed: number): SeededChance;
|
||||
@@ -124,11 +124,11 @@ declare namespace Chance {
|
||||
* @deprecated Use pickone
|
||||
*/
|
||||
pick<T>(arr: T[]): T;
|
||||
pickone<T>(arr: T[]): T;
|
||||
/**
|
||||
* @deprecated Use pickset
|
||||
*/
|
||||
pick<T>(arr: T[], count: number): T[];
|
||||
pickone<T>(arr: T[]): T;
|
||||
pickset<T>(arr: T[], count: number): T[];
|
||||
set: Setter;
|
||||
shuffle<T>(arr: T[]): T[];
|
||||
|
||||
Vendored
+2
-2
@@ -237,7 +237,7 @@ declare namespace Chartist {
|
||||
height?: number | string;
|
||||
high?: number;
|
||||
low?: number;
|
||||
ticks?: (string | number)[];
|
||||
ticks?: Array<string | number>;
|
||||
onlyInteger?: boolean;
|
||||
chartPadding?: IChartPadding;
|
||||
seriesBarDistance?: number;
|
||||
@@ -292,7 +292,7 @@ declare namespace Chartist {
|
||||
lineSmooth?: Function | boolean;
|
||||
low?: number;
|
||||
high?: number;
|
||||
ticks?: (string | number)[];
|
||||
ticks?: Array<string | number>;
|
||||
chartPadding?: IChartPadding;
|
||||
fullWidth?: boolean;
|
||||
classNames?: ILineChartClasses;
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
+6
-1
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
+6
-1
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
+6
-1
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user