ts 类型优化
This commit is contained in:
parent
de2689ba6b
commit
c931b70786
|
@ -122,6 +122,10 @@ function detach(element: HTMLElement) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function resizeSensor(
|
||||||
|
element: HTMLElement,
|
||||||
|
callback: Function
|
||||||
|
): () => void;
|
||||||
export function resizeSensor(
|
export function resizeSensor(
|
||||||
element: HTMLElement,
|
element: HTMLElement,
|
||||||
callback: Function,
|
callback: Function,
|
||||||
|
|
Loading…
Reference in New Issue