Types on src/background

This commit is contained in:
Shin'ya Ueoka 2019-05-01 11:04:24 +09:00
parent 0cffb09e24
commit 678020a3a2
48 changed files with 446 additions and 431 deletions

View file

@ -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
}