Skip to content

Commit

Permalink
Fix ember/no-empty-glimmer-component-classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp committed Jan 18, 2024
1 parent 43b433c commit b2e048b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Component from '@glimmer/component';
import templateOnly from '@ember/component/template-only';

interface PowerSelectNoMatchesMessageSignature {
Element: HTMLElement;
Expand All @@ -7,4 +7,4 @@ interface PowerSelectNoMatchesMessageSignature {
};
}

export default class PowerSelectNoMatchesMessageComponent extends Component<PowerSelectNoMatchesMessageSignature> {}
export default templateOnly<PowerSelectNoMatchesMessageSignature>();
4 changes: 2 additions & 2 deletions ember-power-select/src/components/power-select/placeholder.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Component from '@glimmer/component';
import templateOnly from '@ember/component/template-only';

interface PowerSelectPlaceholderSignature {
Element: HTMLElement;
Expand All @@ -9,4 +9,4 @@ interface PowerSelectPlaceholderSignature {
};
}

export default class PowerSelectPlaceholderComponent extends Component<PowerSelectPlaceholderSignature> {}
export default templateOnly<PowerSelectPlaceholderSignature>();
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Component from '@glimmer/component';
import templateOnly from '@ember/component/template-only';

interface PowerSelectPowerSelectGroupSignature {
Element: HTMLElement;
Expand All @@ -10,4 +10,4 @@ interface PowerSelectPowerSelectGroupSignature {
};
}

export default class PowerSelectPowerSelectGroupComponent extends Component<PowerSelectPowerSelectGroupSignature> {}
export default templateOnly<PowerSelectPowerSelectGroupSignature>();
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Component from '@glimmer/component';
import templateOnly from '@ember/component/template-only';

interface PowerSelectSearchMessageSignature {
Element: HTMLElement;
Expand All @@ -7,4 +7,4 @@ interface PowerSelectSearchMessageSignature {
};
}

export default class PowerSelectSearchMessageComponent extends Component<PowerSelectSearchMessageSignature> {}
export default templateOnly<PowerSelectSearchMessageSignature>();

0 comments on commit b2e048b

Please sign in to comment.