Permalink
Browse files

Q definitions updated

  • Loading branch information...
2 parents ba308ab + 9eacfa2 commit 02a1c437218e855c63225952dbc54536db69e66a @Diullei Diullei committed Mar 24, 2013
Showing with 5 additions and 4 deletions.
  1. +1 −1 Q/q.module-tests.ts
  2. +1 −1 googlemaps/google.maps.d.ts
  3. +2 −1 jasmine/jasmine.d.ts
  4. +1 −1 jquery/jquery.d.ts
View
@@ -72,4 +72,4 @@ Q.allResolved([])
var exception = promise.valueOf().exception;
}
})
-});
+});
@@ -1123,7 +1123,7 @@ declare module google.maps {
worldSize?: Size;
}
- export interface StreetViewService {
+ export class StreetViewService {
getPanoramaById(pano: string, callback: (streetViewPanoramaData: StreetViewPanoramaData, streetViewStatus: StreetViewStatus) => void );
getPanoramaByLocation(latlng: LatLng, radius: number, callback: (streetViewPanoramaData: StreetViewPanoramaData, streetViewStatus: StreetViewStatus) => void );
}
View
@@ -7,7 +7,8 @@
declare function describe(description: string, specDefinitions: Function): void;
declare function xdescribe(description: string, specDefinitions: Function): void;
-declare function it(expectation: string, assertion: Function): void;
+declare function it(expectation: string, assertion: () => void ): void;
+declare function it(expectation: string, assertion: (done: (err?) => void) => void ): void;
declare function xit(expectation: string, assertion: Function): void;
declare function beforeEach(action: Function): void;
View
@@ -714,7 +714,7 @@ interface JQuery {
***********/
length: number;
selector: string;
- [x: string]: HTMLElement;
+ [x: string]: any;
[x: number]: HTMLElement;
/**********

0 comments on commit 02a1c43

Please sign in to comment.