diff --git a/packages/remix-react/__tests__/hook-types-test.tsx b/packages/remix-react/__tests__/hook-types-test.tsx index 122adaaad06..b6f0fe03a17 100644 --- a/packages/remix-react/__tests__/hook-types-test.tsx +++ b/packages/remix-react/__tests__/hook-types-test.tsx @@ -5,7 +5,9 @@ function isEqual( arg: A extends B ? (B extends A ? true : false) : false ): void {} -type LoaderData = ReturnType> +// not sure why `eslint` thinks the `T` generic is not used... +// eslint-disable-next-line @typescript-eslint/no-unused-vars +type LoaderData = ReturnType>; describe("useLoaderData", () => { it("supports plain data type", () => {