Updated IOHelper.writeText to return WinJS.Promise<number> instead of WinJS.Promise<void>

This commit is contained in:
Anand Prakash
2014-05-05 19:02:45 -07:00
parent 63ae54c867
commit 375d64188a
+1 -1
View File
@@ -64,7 +64,7 @@ interface IOHelper {
* @param text The content to be written to the file.
* @returns A promise that completes with a value that is the number of characters written.
**/
writeText(fileName: string, text: string): WinJS.Promise<void>;
writeText(fileName: string, text: string): WinJS.Promise<number>;
}
/**