Skip to content

Commit 31d7041

Browse files
authored
API 💄 (microsoft#180911)
1 parent a668ae6 commit 31d7041

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/vscode-dts/vscode.proposed.saveEditor.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ declare module 'vscode' {
1111

1212
/**
1313
* Saves the editor identified by the given resource and returns the resulting resource or `undefined`
14-
* if save was not successful.
14+
* if save was not successful or no editor with the given resource was found.
1515
*
1616
* **Note** that an editor with the provided resource must be opened in order to be saved.
1717
*
@@ -22,7 +22,8 @@ declare module 'vscode' {
2222

2323
/**
2424
* Saves the editor identified by the given resource to a new file name as provided by the user and
25-
* returns the resulting resource or `undefined` if save was not successful or cancelled.
25+
* returns the resulting resource or `undefined` if save was not successful or cancelled or no editor
26+
* with the given resource was found.
2627
*
2728
* **Note** that an editor with the provided resource must be opened in order to be saved as.
2829
*

0 commit comments

Comments
 (0)