We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e836458 commit a417a68Copy full SHA for a417a68
templates/hello-world/contribution.ts
@@ -9,10 +9,9 @@ export const <%= params.extensionPrefix %>Command: Command = {
9
10
@injectable()
11
export class <%= params.extensionPrefix %>CommandContribution implements CommandContribution {
12
-
13
- constructor(
14
- @inject(MessageService) private readonly messageService: MessageService,
15
- ) { }
+
+ @inject(MessageService)
+ protected readonly messageService!: MessageService;
16
17
registerCommands(registry: CommandRegistry): void {
18
registry.registerCommand(<%= params.extensionPrefix %>Command, {
0 commit comments