From 86d2c6672785f69f38060ea5cfba5b92a9eaa0fe Mon Sep 17 00:00:00 2001 From: Dustin Wehr Date: Thu, 11 Jun 2015 17:22:10 -0400 Subject: [PATCH] couple type tightenings --- google-drive-realtime-api/google-drive-realtime-api.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-drive-realtime-api/google-drive-realtime-api.d.ts b/google-drive-realtime-api/google-drive-realtime-api.d.ts index 8cf4aa97b..8bb4af5c0 100644 --- a/google-drive-realtime-api/google-drive-realtime-api.d.ts +++ b/google-drive-realtime-api/google-drive-realtime-api.d.ts @@ -226,7 +226,7 @@ declare module gapi.drive.realtime { // Returns the collaborative object with the given id. // @return non-null Object - getObject:any; + getObject: (id:string) => CollaborativeObject; // An estimate of the number of bytes used by data stored in the model. bytesUsed:number; @@ -334,7 +334,7 @@ declare module gapi.drive.realtime { sessionId : string; // The collaborative object that initiated this event. - target : Object; + target : CollaborativeObject; // The type of the event. type : string;