clean up lots of code when running tsconfig with noUnusedLocals

This commit is contained in:
Benjamin Pasero
2016-09-26 11:52:03 +02:00
parent 1368c67d8e
commit c39fe899d7
58 changed files with 46 additions and 240 deletions

View File

@@ -413,7 +413,7 @@ export class List<T> implements IDisposable {
return `${ this.idPrefix }_${ index }`;
}
private toListEvent<T>({ indexes }: ITraitChangeEvent) {
private toListEvent({ indexes }: ITraitChangeEvent) {
return { indexes, elements: indexes.map(i => this.view.element(i)) };
}