Skip to content

Commit 3d7b677

Browse files
committed
Add type annotations
1 parent a17113f commit 3d7b677

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

denops/fall/processor/sort.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export class SortProcessor<T extends Detail> implements Disposable {
1515
#processing?: Promise<void>;
1616
#reserved?: () => void;
1717
#items: IdItem<T>[] = [];
18+
1819
constructor(
1920
sorters: readonly Sorter<T>[],
2021
options: SortProcessorOptions = {},
@@ -43,7 +44,7 @@ export class SortProcessor<T extends Detail> implements Disposable {
4344
this.sorters.index = index;
4445
}
4546

46-
get items() {
47+
get items(): readonly IdItem<T>[] {
4748
return this.#items;
4849
}
4950

0 commit comments

Comments
 (0)