---
title: "Discussion on \"How Do You Validate `unknown` in TypeScript Without a Schema Library? 🛡️\" | Hashnode"
description: "Discussion on \"How Do You Validate `unknown` in TypeScript Without a Schema Library? 🛡️\". Hoi hoi! 👋\nI'm @nyaomaru, a frontend engineer who is obsessed with gamba. 😸🦐\nRecently, I was thinking about a very common TypeScript problem.\nSuppose some value comes from:\n\nan API response\n\nJSON.p"
url: "https://hashnode.com/posts/how-do-you-validate-unknown-in-typescript-without-a-schema-library/6ad247788b5c7cf26efe1e83"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Do You Validate \`unknown\` in TypeScript Without a Schema Library? 🛡️](https://nyaomaru.hashnode.dev/how-do-you-validate-unknown-in-typescript-without-a-schema-library?utm_source=hashnode&utm_medium=feed)

Hoi hoi! 👋 I'm @nyaomaru, a frontend engineer who is obsessed with gamba. 😸🦐 Recently, I was thinking about a very common TypeScript problem. Suppose some value comes from: an API response JSON.p

Oct 16 · 8 min read · nyaomaru.hashnode.dev  
Read the article

## Written by

[Nyaomaru](https://hashnode.com/@nyaomaru)

@nyaomaru · The Netherlands, Heerlen

  
[View profile](https://hashnode.com/@nyaomaru)

Funny frontend engineer!

Funny Frontend Engineer 😺 Living in the Netherlands.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
