mirror of https://github.com/vector-im/riot-web
Make eslint happy
parent
41d444d7d7
commit
ab4934ba6c
|
@ -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 New Issue