Skip to content

Commit

Permalink
Added typing to Command in Hello World Template
Browse files Browse the repository at this point in the history
fixed #115

Contributed on behalf of STMicroelectronics

Signed-off-by: Jonas Helming <[email protected]>
  • Loading branch information
JonasHelming committed Sep 27, 2021
1 parent ca72cf0 commit d797988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/hello-world/contribution.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { injectable, inject } from "inversify";
import { CommandContribution, CommandRegistry, MenuContribution, MenuModelRegistry, MessageService } from "@theia/core/lib/common";
import { Command, CommandContribution, CommandRegistry, MenuContribution, MenuModelRegistry, MessageService } from "@theia/core/lib/common";
import { CommonMenus } from "@theia/core/lib/browser";

export const <%= params.extensionPrefix %>Command = {
export const <%= params.extensionPrefix %>Command: Command = {
id: '<%= params.extensionPrefix %>.command',
label: "Say Hello"
};
Expand Down

0 comments on commit d797988

Please sign in to comment.