Follow up to PR #22021 to respond to feedback

This commit is contained in:
Cody Hoover
2017-03-07 21:32:17 +01:00
parent 85b90a9a86
commit ee4473f1ef
6 changed files with 10 additions and 10 deletions

View File

@@ -228,8 +228,8 @@ export class MainThreadDocuments extends MainThreadDocumentsShape {
});
}
$tryCreateDocument(options?: { language?: string, contents?: string }): TPromise<URI> {
return this._doCreateUntitled(void 0, options ? options.language : void 0, options ? options.contents : void 0);
$tryCreateDocument(options?: { language?: string, content?: string }): TPromise<URI> {
return this._doCreateUntitled(void 0, options ? options.language : void 0, options ? options.content : void 0);
}
private _handleAsResourceInput(uri: URI): TPromise<boolean> {