Various Lawyerings
A Learning TypeScript > Objects 🥗 appetizer project. You'll practice using aliased object types to represent shapes of data.
Hello, fellow lawyer. I'm glad you've chosen to join me in preparing to engage in legal battle. As you can see, I require your assistance in developing TypeScript projects to manage my files for this most important case.
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/objects/various-lawyerings
Start the TypeScript compiler in watch mode:
tsc --watch
Steps
Notes
- Don't import code from one step into another.
- Use object types (
type
), not interfaces (interface
)