jaenny.dev
article thumbnail
[타입챌린지/type-challenge] Hello World
Frontend/Type-Challenge 2023. 1. 23. 17:42

문제 HelloWorld 타입이 string이 되어야 합니다. // string이 되어야 합니다. type HelloWorld = any 풀이 // ============= Test Cases ============= import type { Equal, Expect, NotAny } from "./test-utils"; type cases = [Expect, Expect]; // ============= Your Code Here ============= type HelloWorld = string; // expected to be a string