Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.78 KB

File metadata and controls

21 lines (14 loc) · 1.78 KB

Hello World warm-up

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語 한국어

Hello, World!

In Type Challenges, we use the type system itself to do the assertion.

For this challenge, you will need to change the following code to make the tests pass (no type check errors).

// expected to be string
type HelloWorld = any
// you should make this work
type test = Expect<Equal<HelloWorld, string>>

Click the Take the Challenge button to start coding! Happy Hacking!


Back Share your Solutions Check out Solutions