chore: bump prettier v3 and format all code (#12111)

* chore: bump prettier v3 and format all code

* chore: mjs config

* chore: revert

* chore: revert

* chore: update lock
This commit is contained in:
neverland
2023-07-22 14:14:14 +08:00
committed by GitHub
parent b601ca1e0b
commit 3dcc92a5c0
209 changed files with 565 additions and 543 deletions
+2 -2
View File
@@ -10,10 +10,10 @@ const makeDOMRect = (width: number, height: number) =>
bottom: height,
width,
height,
} as DOMRect);
}) as DOMRect;
export const useRect = (
elementOrRef: Element | Window | Ref<Element | Window | undefined>
elementOrRef: Element | Window | Ref<Element | Window | undefined>,
) => {
const element = unref(elementOrRef);