mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Make eslint happy
This commit is contained in:
parent
41d444d7d7
commit
ab4934ba6c
2 changed files with 17 additions and 3 deletions
|
@ -40,7 +40,12 @@ class CollapseItem extends ResizeItem<ICollapseConfig> {
|
|||
}
|
||||
|
||||
export default class CollapseDistributor extends FixedDistributor<ICollapseConfig, CollapseItem> {
|
||||
static createItem(resizeHandle: HTMLDivElement, resizer: Resizer<ICollapseConfig>, sizer: Sizer, container?: HTMLElement): CollapseItem {
|
||||
static createItem(
|
||||
resizeHandle: HTMLDivElement,
|
||||
resizer: Resizer<ICollapseConfig>,
|
||||
sizer: Sizer,
|
||||
container?: HTMLElement,
|
||||
): CollapseItem {
|
||||
return new CollapseItem(resizeHandle, resizer, sizer, container);
|
||||
}
|
||||
|
||||
|
|
|
@ -47,8 +47,17 @@ export default class Resizer<C extends IConfig = IConfig> {
|
|||
public container: HTMLElement,
|
||||
private readonly distributorCtor: {
|
||||
new(item: ResizeItem): FixedDistributor<C, any>;
|
||||
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,
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue