Bump prettier from 2.0.3 to 2.0.4 (#1412)

* Bump prettier from 2.0.3 to 2.0.4

Bumps [prettier](https://github.com/prettier/prettier) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.3...2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* format

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
This commit is contained in:
dependabot-preview[bot]
2020-04-14 12:30:58 +03:00
committed by GitHub
parent e77e2255bd
commit 7df16c1b1d
9 changed files with 125 additions and 140 deletions

View File

@ -164,11 +164,13 @@ function getSelectedElement(): ExcalidrawElement {
type HandlerRectanglesRet = keyof ReturnType<typeof handlerRectangles>;
function getResizeHandles() {
const rects =
handlerRectangles(getSelectedElement(), h.state.zoom, pointerType) as
{
[T in HandlerRectanglesRet]: [number, number, number, number];
};
const rects = handlerRectangles(
getSelectedElement(),
h.state.zoom,
pointerType,
) as {
[T in HandlerRectanglesRet]: [number, number, number, number];
};
const rv: { [K in keyof typeof rects]: [number, number] } = {} as any;