Skip to content

Commit

Permalink
Fix HeaderComponent boilerplate (#218)
Browse files Browse the repository at this point in the history
Update index.ts
  • Loading branch information
jeffdaley committed Jun 16, 2023
1 parent 22d4a48 commit b34f51e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions web/app/components/header/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ interface HeaderComponentSignature {
};
}

export default class extends Component<HeaderComponentSignature> {}
export default class HeaderComponent extends Component<HeaderComponentSignature> {}

declare module "@glint/environment-ember-loose/registry" {
export default interface Registry {}
export default interface Registry {
Header: typeof HeaderComponent;
}
}

0 comments on commit b34f51e

Please sign in to comment.