Skip to content

Commit 8e0869f

Browse files
authored
Fix breaking change after inversify update (#169)
1 parent a23c6e2 commit 8e0869f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/widget/widget.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ export class <%= params.extensionPrefix %>Widget extends ReactWidget {
1515
protected readonly messageService!: MessageService;
1616

1717
@postConstruct()
18-
protected async init(): Promise < void> {
18+
protected init(): void {
19+
this.doInit()
20+
}
21+
22+
protected async doInit(): Promise <void> {
1923
this.id = <%= params.extensionPrefix %>Widget.ID;
2024
this.title.label = <%= params.extensionPrefix %>Widget.LABEL;
2125
this.title.caption = <%= params.extensionPrefix %>Widget.LABEL;

0 commit comments

Comments
 (0)