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, ) {