Bump prettier to v3 and format all files

This commit is contained in:
Felipe Santos
2024-06-10 00:29:50 -03:00
parent 2a637d92b9
commit fccb4c9afd
138 changed files with 6445 additions and 1678 deletions
+3 -7
View File
@@ -81,7 +81,7 @@ export const callResizeHandler = (
height: entry.height,
width: entry.width,
},
} as unknown as ResizeObserverEntry),
}) as unknown as ResizeObserverEntry,
),
observer,
);
@@ -109,10 +109,6 @@ export const createEmblaApiInstance = (options?: {
return emblaApi;
};
export const createTestSlideNodes = (options?: {
n?: number;
}): HTMLElement[] => {
return [...Array(options?.n ?? 10).keys()].map((_) =>
document.createElement('div'),
);
export const createTestSlideNodes = (options?: { n?: number }): HTMLElement[] => {
return [...Array(options?.n ?? 10).keys()].map((_) => document.createElement('div'));
};