Secret Messages
A Learning TypeScript > Declaration Files 🥗 appetizer project. You'll practice using aliased object types to represent shapes of data.
Psst! You! Hey, you! Are you who I think you are? Are you the messenger?
If so, good. Great. Magnificent. I have a series of secret messages I need you to encode.
We'll use TypeScript configuration options to do so. Don't ask any questions - just go along with it.
Setup
If you haven't yet, set up the github.com/LearningTypeScript/projects repository locally.
git clone https://github.com/LearningTypeScript/projects learning-typescript-projects
cd learning-typescript-projects
npm i
Change your terminal directory to this project's:
cd projects/configuration-options/secret-messages
Start the TypeScript compiler in watch mode:
tsc --watch
Steps
Notes
- Don't import code from one step into another.