type-challenges/questions/13-warm-hello-world
Anthony Fu df6e22f105
New question Tuple to Object (#16)
Co-authored-by: sinoon <sinoon1218@gmail.com>
2020-07-29 16:27:49 +08:00
..
2020-07-28 13:32:12 +08:00
2020-07-28 13:38:24 +08:00
2020-07-28 13:32:12 +08:00
2020-07-28 13:32:12 +08:00

Hello World warm-up

by Anthony Fu @antfu

Take the Challenge    简体中文

Hello, World!

In Type Challenges, we uses the type system itself to do the assertion. In 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 Check out Solutions Share your Solutions