13. Hello World
小于 1 分钟
13. Hello World
<题目描述>
::: playground#ts 13. Hello World
@file index.ts
// ============= Test Cases =============
import type { Equal, Expect, NotAny } from '@type-challenges/utils'
type cases = [
Expect<NotAny<HelloWorld>>,
Expect<Equal<HelloWorld, string>>,
]
// ============= Your Code Here =============
type HelloWorld = any // expected to be a string
:::
点击查看答案
type HelloWorld = string