Introduction
This is my sixth article as a Java engineer learning TypeScript from scratch.
In my previous article, I built a Quiz CLI and learned about enum, tuple types, and mocking an entire module with jest.mock(). This time, I built a Weather API CLI and focused on:
Calling an external API asynchronously with async/await and fetch
Describing an API response with type definitions (type to model the JSON shape)






