Skip to content

Commit

Permalink
Typescripting
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Aug 22, 2019
1 parent f943168 commit 01a8222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/menu-item/menu-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class MenuItem extends ActionButton {
return content;
}

public connectedCallback() {
public connectedCallback(): void {
super.connectedCallback();
if (!this.hasAttribute('role')) {
const queryRoleEvent = new CustomEvent('sp-menu-item-query-role', {
Expand Down
2 changes: 1 addition & 1 deletion src/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class Menu extends LitElement {
`;
}

public connectedCallback() {
public connectedCallback(): void {
super.connectedCallback();
if (!this.hasAttribute('role')) {
const queryRoleEvent = new CustomEvent('sp-menu-query-role', {
Expand Down

0 comments on commit 01a8222

Please sign in to comment.