Skip to content

jobtrek/ex-ts-empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript exercises

v2.1.0 : Read changelog

This repo contains some basic exercises to discover TypeScript. This allows you to understand the differences between JavaScript and TypeScript, and understand how you can use types to allow better coding experience.

Setup and installation

This repository use the Deno runtime, don't forget to install it first on your system, instructions here. We recommend you to install corresponding deno extension in your favourite editor.

Then, you can set up this repo on your computer :

# Clone the repository
git clone git@github.com:jobtrek/ex-ts.git

# Move into the exercises repository
cd ex-ts

Complete the exercises

You are now ready to complete the exercises :

  1. Basic type exercises
  2. Arrays
  3. Objects

Test your code

# You can run all the tests with (this will check types, then run tests)
deno test src/
# You can run a specific test suite with the file name :
deno test src/basics/types_test.ts

# If you want to check only types, you can use the check subcommand
deno check src/
# Or for specific file
deno check src/basics/types_test.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published