Merge pull request #887 from ashwinr/master

update d3 and mocha definitions
This commit is contained in:
Diullei Gomes
2013-08-20 18:28:04 -07:00
2 changed files with 12 additions and 1 deletions
Vendored
+1 -1
View File
@@ -188,7 +188,7 @@ declare module D3 {
*
* @param definition 2D affine transform string
*/
transform(definition: string): any[];
transform(definition: string): any;
/**
* Transpose an array of arrays.
*
+11
View File
@@ -3,6 +3,17 @@
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid/>
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped
interface Mocha {
setup(options: MochaSetupOptions);
run(callback: () => void);
}
interface MochaSetupOptions {
slow: number;
timeout: number;
ui: string;
}
declare var describe : {
(description: string, spec: () => void): void;
only(description: string, spec: () => void): void;