Skip to content

Commit fb40126

Browse files
committed
Mark field as readonly
1 parent 006cfcd commit fb40126

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

src/vs/platform/commands/common/commands.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,14 @@ export interface ICommand {
3939
}
4040

4141
export interface ICommandHandlerDescription {
42-
description: string;
43-
args: { name: string; description?: string; constraint?: TypeConstraint; schema?: IJSONSchema; }[];
44-
returns?: string;
42+
readonly description: string;
43+
readonly args: ReadonlyArray<{
44+
readonly name: string;
45+
readonly description?: string;
46+
readonly constraint?: TypeConstraint;
47+
readonly schema?: IJSONSchema;
48+
}>;
49+
readonly returns?: string;
4550
}
4651

4752
export interface ICommandRegistry {

0 commit comments

Comments
 (0)