Make Terminal.markers readonly

This commit is contained in:
Daniel Imms
2019-04-30 19:19:41 +00:00
parent f4bbfc30f3
commit 469d5158a0
+1 -1
View File
@@ -359,7 +359,7 @@ declare module 'xterm' {
* (EXPERIMENTAL) Get all markers registered against the buffer. If the alt
* buffer is active this will always return [].
*/
readonly markers: IMarker[];
readonly markers: ReadonlyArray<IMarker>;
/**
* Natural language strings that can be localized.