unknown is safer than any.
It forces you to validate the type before using it.
Bad (API response)
const response: any = await fetchData();
response.toUpperCase(); // may crashGood
const response: unknown = await fetchData();
if (typeof response === "string") {
response.toUpperCase(); // safe
}