mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Updated IOHelper.writeText to return WinJS.Promise<number> instead of WinJS.Promise<void>
This commit is contained in:
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