quote-generator-with-typescript

https://ahmed0saber.github.io/quote-generator-with-typescript/

how to create typescript app

npm install typescript --save-dev

npx tsc

npx tsc --init

open tsconfig.json and make sure these lines exist

{ "include": ["src"], "compilerOptions": { "outDir": "./build" } }

create empty build folder

create src folder with index.ts

add this to package.json

"scripts": { "start": "tsc --watch" }

run this command

npm start