diff --git a/src/02-passing-type-arguments/11-data-fetcher.solution.ts b/src/02-passing-type-arguments/11-data-fetcher.solution.ts index 85385b6..08ec9cf 100644 --- a/src/02-passing-type-arguments/11-data-fetcher.solution.ts +++ b/src/02-passing-type-arguments/11-data-fetcher.solution.ts @@ -2,7 +2,7 @@ import { expect, it } from "vitest"; import { Equal, Expect } from "../helpers/type-utils"; const fetchData = async (url: string) => { - let data: TData = await fetch(url).then((response) => response.json()); + let data = await fetch(url).then((response) => response.json()); return data; };