mirror of
https://github.com/type-challenges/type-challenges.git
synced 2025-12-08 19:06:13 +00:00
Hello World
by Anthony Fu @antfu
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!