mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-23 11:42:36 +08:00
Updated IOHelper.writeText to return WinJS.Promise<number> instead of WinJS.Promise<void>
This commit is contained in:
1 parent
63ae54c867
commit
375d64188a
1 file changed
+1
-1
Vendored
+1
-1
@@ -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>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user