diff --git a/sources/__tests__/accessible-name.js b/sources/__tests__/accessible-name.js
index 25380988..b1477312 100644
--- a/sources/__tests__/accessible-name.js
+++ b/sources/__tests__/accessible-name.js
@@ -593,7 +593,7 @@ describe("options.getComputedStyle", () => {
});
it("is not called more than once per element", () => {
const container = renderIntoDocument(
- ""
+ "",
);
computeAccessibleName(container.querySelector("button"));
diff --git a/sources/accessible-name-and-description.ts b/sources/accessible-name-and-description.ts
index 3550e3a9..2d8a9148 100644
--- a/sources/accessible-name-and-description.ts
+++ b/sources/accessible-name-and-description.ts
@@ -71,7 +71,7 @@ function asFlatString(s: string): FlatString {
*/
function isHidden(
node: Node,
- getComputedStyleImplementation: GetComputedStyle
+ getComputedStyleImplementation: GetComputedStyle,
): node is Element {
if (!isElement(node)) {
return false;
@@ -337,7 +337,7 @@ function getSlotContents(slot: HTMLSlotElement): Node[] {
*/
export function computeTextAlternative(
root: Element,
- options: ComputeTextAlternativeOptions = {}
+ options: ComputeTextAlternativeOptions = {},
): string {
const consultedNodes = new SetLike();
const computedStyles = new MapLike();
@@ -356,7 +356,7 @@ export function computeTextAlternative(
} = options;
const cachingGetComputedStyle: GetComputedStyle = (
el,
- pseudoElement
+ pseudoElement,
): CSSStyleDeclaration => {
// we don't cache the pseudoElement styles
if (pseudoElement !== undefined) {
@@ -376,7 +376,7 @@ export function computeTextAlternative(
context: {
isEmbeddedInLabel: boolean;
isReferenced: boolean;
- }
+ },
): string {
let accumulatedText = "";
if (isElement(node) && computedStyleSupportsPseudoElements) {
@@ -579,7 +579,7 @@ export function computeTextAlternative(
isEmbeddedInLabel: boolean;
isReferenced: boolean;
recursion: boolean;
- }
+ },
): string {
if (consultedNodes.has(current)) {
return "";
diff --git a/sources/polyfills/MapLike.ts b/sources/polyfills/MapLike.ts
index 58dc2ef8..099ceb90 100644
--- a/sources/polyfills/MapLike.ts
+++ b/sources/polyfills/MapLike.ts
@@ -5,7 +5,7 @@ declare global {
delete(key: K): boolean;
forEach(
callbackfn: (value: V, key: K, map: Map) => void,
- thisArg?: any
+ thisArg?: any,
): void;
get(key: K): V | undefined;
has(key: K): boolean;
@@ -57,8 +57,8 @@ class MapLike {
}
forEach(
callbackfn: (value: V, key: K, map: MapLike) => void,
- thisArg?: any
+ thisArg?: any,
): void {}
}
-export default typeof Map === "undefined" ? Map: MapLike;
+export default typeof Map === "undefined" ? Map : MapLike;