Skip to content

Commit da612d5

Browse files
committed
Add readonly
1 parent 96b234d commit da612d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ declare module 'vscode' {
6969
/**
7070
* The full command line that was executed, including both the command and its arguments.
7171
*/
72-
value: string;
72+
readonly value: string;
7373

7474
/**
7575
* Whether the command line value came from a trusted source and is therefore safe to
@@ -81,13 +81,13 @@ declare module 'vscode' {
8181
* integration script (ie. {@link TerminalShellExecutionCommandLineConfidence.High high confidence})
8282
* and it used a nonce for verification.
8383
*/
84-
isTrusted: boolean;
84+
readonly isTrusted: boolean;
8585

8686
/**
8787
* The confidence of the command line value which is determined by how the value was
8888
* obtained. This depends upon the implementation of the shell integration script.
8989
*/
90-
confidence: TerminalShellExecutionCommandLineConfidence;
90+
readonly confidence: TerminalShellExecutionCommandLineConfidence;
9191
}
9292

9393
/**

0 commit comments

Comments
 (0)