From ab4934ba6c32807b1d4054cf1843bce9759e0b48 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Tue, 24 Aug 2021 14:23:08 +0200 Subject: [PATCH] Make eslint happy --- src/resizer/distributors/collapse.ts | 7 ++++++- src/resizer/resizer.ts | 13 +++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/resizer/distributors/collapse.ts b/src/resizer/distributors/collapse.ts index 8f127d7815..1cef94976d 100644 --- a/src/resizer/distributors/collapse.ts +++ b/src/resizer/distributors/collapse.ts @@ -40,7 +40,12 @@ class CollapseItem extends ResizeItem { } export default class CollapseDistributor extends FixedDistributor { - static createItem(resizeHandle: HTMLDivElement, resizer: Resizer, sizer: Sizer, container?: HTMLElement): CollapseItem { + static createItem( + resizeHandle: HTMLDivElement, + resizer: Resizer, + sizer: Sizer, + container?: HTMLElement, + ): CollapseItem { return new CollapseItem(resizeHandle, resizer, sizer, container); } diff --git a/src/resizer/resizer.ts b/src/resizer/resizer.ts index cadeadcc60..92f458e7c7 100644 --- a/src/resizer/resizer.ts +++ b/src/resizer/resizer.ts @@ -47,8 +47,17 @@ export default class Resizer { public container: HTMLElement, private readonly distributorCtor: { new(item: ResizeItem): FixedDistributor; - createItem(resizeHandle: HTMLDivElement, resizer: Resizer, sizer: Sizer, container: HTMLElement): ResizeItem; - createSizer(containerElement: HTMLElement, vertical: boolean, reverse: boolean): Sizer; + createItem( + resizeHandle: HTMLDivElement, + resizer: Resizer, + sizer: Sizer, + container: HTMLElement + ): ResizeItem; + createSizer( + containerElement: HTMLElement, + vertical: boolean, + reverse: boolean + ): Sizer; }, public readonly config?: C, ) {