Skip to content

Commit 8fe90bd

Browse files
committed
Convert SuperSelect::AfterOptions to TypeScript
1 parent c36e41b commit 8fe90bd

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

packages/components/src/components/hds/form/super-select/after-options.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{! @glint-nocheck: not typesafe yet }}
21
{{!
32
Copyright (c) HashiCorp, Inc.
43
SPDX-License-Identifier: MPL-2.0
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import templateOnlyComponent from '@ember/component/template-only';
2+
3+
interface HdsFormSuperSelectAfterOptionsSignature {
4+
Args: {
5+
clearSelected: () => void;
6+
content?: string;
7+
resultCountMessage?: string;
8+
selectedCount?: string;
9+
showAll: () => void;
10+
showNoSelectedMessage?: boolean;
11+
showOnlySelected?: boolean;
12+
showSelected: () => void;
13+
};
14+
}
15+
16+
const HdsFormSuperSelectAfterOptionsComponent =
17+
templateOnlyComponent<HdsFormSuperSelectAfterOptionsSignature>();
18+
19+
export default HdsFormSuperSelectAfterOptionsComponent;

0 commit comments

Comments
 (0)