Classic fizz buzz implemented in typescript. To run the code first compile it:
npm run compile
> fizz_buzz@0.0.0 compile
> tsc
Afterwards, run it like so:
npm run start
> fizz_buzz@0.0.0 start
> node build/src/index.js
1
2
Fizz
...
Classic fizz buzz implemented in typescript. To run the code first compile it:
npm run compile
> fizz_buzz@0.0.0 compile
> tsc
Afterwards, run it like so:
npm run start
> fizz_buzz@0.0.0 start
> node build/src/index.js
1
2
Fizz
...