---
title: "Discussion on \"stc와 관련된 사소한 후회\" | Hashnode"
description: "Discussion on \"stc와 관련된 사소한 후회\". Vercel은 연말이 전원 휴가라 놀다가 stc 작업을 했는데, 내가 이전 작업을 너무 성의 없이 해서 곤란한 상황이 됐다.\n처음부터 tsc의 추론 결과를 테스트해보면서 작업했으면 아무것도 아닌데, 지금 시점에선 어디부터 손을 대야할지 감도 안 오는?\nenum E {\n  A,\n  B,\n}\n\ndeclare let b: { [s: string]: string | E };\n\nb = E;\n\n문제가 되는 케이스다.\nEnum의 정의를 표현식에서 사용하면 ..."
url: "https://hashnode.com/posts/2022-12-27-small-regret-about-stc/66291607777e31783705a543"
---

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

Discussion

# [stc와 관련된 사소한 후회](https://kdy1.dev/2022-12-27-small-regret-about-stc?utm_source=hashnode&utm_medium=feed)

Vercel은 연말이 전원 휴가라 놀다가 stc 작업을 했는데, 내가 이전 작업을 너무 성의 없이 해서 곤란한 상황이 됐다. 처음부터 tsc의 추론 결과를 테스트해보면서 작업했으면 아무것도 아닌데, 지금 시점에선 어디부터 손을 대야할지 감도 안 오는? enum E { A, B, } declare let b: { \[s: string\]: string | E }; b = E; 문제가 되는 케이스다. Enum의 정의를 표현식에서 사용하면 ...

Dec 27, 2022 · 1 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.
