aboutsummaryrefslogtreecommitdiff
path: root/src/background/domains/CompletionGroup.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-05-01 11:04:24 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-05-02 22:07:53 +0900
commit678020a3a27713e77ec8d74483122b4258fbc829 (patch)
tree6c84d0965f05918e6fd58a0a155c15035474d563 /src/background/domains/CompletionGroup.ts
parent0cffb09e249832291be73be039dc1b9bb38115f9 (diff)
Types on src/background
Diffstat (limited to 'src/background/domains/CompletionGroup.ts')
-rw-r--r--src/background/domains/CompletionGroup.ts17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/background/domains/CompletionGroup.ts b/src/background/domains/CompletionGroup.ts
index 1749d72..1eea7d8 100644
--- a/src/background/domains/CompletionGroup.ts
+++ b/src/background/domains/CompletionGroup.ts
@@ -1,14 +1,7 @@
-export default class CompletionGroup {
- constructor(name, items) {
- this.name0 = name;
- this.items0 = items;
- }
+import CompletionItem from './CompletionItem';
- get name() {
- return this.name0;
- }
-
- get items() {
- return this.items0;
- }
+export default interface CompletionGroup {
+ name: string;
+ items: CompletionItem[];
+ // eslint-disable-next-line semi
}