Mark readonly on insertSnippet

This function does not modify the input array
This commit is contained in:
Matt Bierner
2019-06-13 14:11:46 -07:00
parent bb48783c40
commit 3bb736272e
5 changed files with 5 additions and 5 deletions

View File

@@ -469,7 +469,7 @@ export class MainThreadTextEditor {
return true;
}
insertSnippet(template: string, ranges: IRange[], opts: IUndoStopOptions) {
insertSnippet(template: string, ranges: readonly IRange[], opts: IUndoStopOptions) {
if (!this._codeEditor) {
return false;