ts 类型优化

This commit is contained in:
2betop 2020-04-21 14:47:55 +08:00
parent de2689ba6b
commit c931b70786
1 changed files with 4 additions and 0 deletions

View File

@ -122,6 +122,10 @@ function detach(element: HTMLElement) {
}
}
export function resizeSensor(
element: HTMLElement,
callback: Function
): () => void;
export function resizeSensor(
element: HTMLElement,
callback: Function,