Skip to content

Hello world

入门挑战我们先从Hello World启航,这个题目能让你快速上手Type Challenges

在这里,我们使用了一些神奇的技巧让 TypeScript 通过自身的类型系统来实现自动判题。

在这个挑战中,你需要修改下方的代码使得测试通过(使其没有类型错误)。

  • 请在下方代码实现:
查看解答
ts

type HelloWorld = string

Released under the MIT License.