---
title: "Discussion on \"타입스크립트 타입 체커와 관련한 깨달음 1\" | Hashnode"
description: "Discussion on \"타입스크립트 타입 체커와 관련한 깨달음 1\". 서론\n타입스크립트 타입 체커와 관련해서 한가지 사실을 깨달았고, 이렇게 오래 고민한 문제는 오랜만이라 기록으로 남긴다.\n그리고 깨달음 1인 이유는 아직 고칠 게 너무 많아서이다.\n\n문제\ndeclare function foo(x: string): number;\ndeclare function foo(x: number): string;\n\nfunction g1() {\n  let x: string | number | boolean;\n  x = \"\";\n ..."
url: "https://hashnode.com/posts/2022-1-15-stc-til/66291300f354116bea1e6c0e"
---

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

Discussion

# [타입스크립트 타입 체커와 관련한 깨달음 1](https://kdy1.dev/2022-1-15-stc-til?utm_source=hashnode&utm_medium=feed)

서론 타입스크립트 타입 체커와 관련해서 한가지 사실을 깨달았고, 이렇게 오래 고민한 문제는 오랜만이라 기록으로 남긴다. 그리고 깨달음 1인 이유는 아직 고칠 게 너무 많아서이다. 문제 declare function foo(x: string): number; declare function foo(x: number): string; function g1() { let x: string | number | boolean; x = ""; ...

Jan 15, 2022 · 3 min read · kdy1.dev  
Read the article

## Written by

[DongYun Kang](https://hashnode.com/@kdy1)

@kdy1 · South Korea

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

Creator of SWC

CEO of Delino. I created SWC, an open-source compiler project, and previously worked at Deno and Vercel.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
