diff --git a/package.json b/package.json
index 8bfbeecc..14a623b0 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
   "description": "Simple and complete React DOM testing utilities that encourage good testing practices.",
   "main": "dist/index.js",
   "types": "types/index.d.ts",
-  "module": "dist/@testing-library/react.esm.js",
+  "module": "dist/@testing-library/react.esm.mjs",
   "engines": {
     "node": ">=18"
   },
@@ -55,7 +55,7 @@
     "chalk": "^4.1.2",
     "dotenv-cli": "^4.0.0",
     "jest-diff": "^29.7.0",
-    "kcd-scripts": "^13.0.0",
+    "kcd-scripts": "^16.0.0",
     "npm-run-all": "^4.1.5",
     "react": "^18.3.1",
     "react-dom": "^18.3.0",
diff --git a/types/index.d.ts b/types/index.d.ts
index 37c8392a..bb7576a8 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -53,7 +53,9 @@ export type BaseRenderOptions<
 > = RenderOptions<Q, Container, BaseElement>
 
 type RendererableContainer = ReactDOMClient.Container
-type HydrateableContainer = Parameters<typeof ReactDOMClient['hydrateRoot']>[0]
+type HydrateableContainer = Parameters<
+  (typeof ReactDOMClient)['hydrateRoot']
+>[0]
 /** @deprecated */
 export interface ClientRenderOptions<
   Q extends Queries,
diff --git a/types/test.tsx b/types/test.tsx
index f8cf4aad..275510b1 100644
--- a/types/test.tsx
+++ b/types/test.tsx
@@ -262,11 +262,8 @@ eslint
 */
 
 // https://stackoverflow.com/questions/53807517/how-to-test-if-two-types-are-exactly-the-same
-type IfEquals<T, U, Yes = unknown, No = never> = (<G>() => G extends T
-  ? 1
-  : 2) extends <G>() => G extends U ? 1 : 2
-  ? Yes
-  : No
+type IfEquals<T, U, Yes = unknown, No = never> =
+  (<G>() => G extends T ? 1 : 2) extends <G>() => G extends U ? 1 : 2 ? Yes : No
 
 /**
  * Issues a type error if `Expected` is not identical to `Actual`.