Execute the tests with:

1
$ yarn test

Be sure your code follows best practices and coding styles, as other users do, with TSLint, a tool to perform static analysis to your code. Sometimes, tools like this save you some time detecting typos or silly mistakes in your code:

1
$ yarn lint

Or do both at the same time:

1
2
$ yarn test && yarn lint

Making Your First Module

Usually, tests on this track will load your implementation importing it as a module: import Bob from './bob';. To make it work, you just needs to export your implementation from the file the tests are looking for your module, bob.ts:

1
2
3
4
5
6
7
export default class Bob {
  hey(message: string) {
    //
    // Your solution to the exercise goes here
    //
  }
}

Help us explain this better! File a GitHub issue at https://github.com/exercism/typescript/issues if you have suggestions, or submit a patch with improvements to the https://github.com/exercism/typescript/blob/master/docs/TESTS.md file.