https://ahmed0saber.github.io/quote-generator-with-typescript/
npm install typescript --save-dev
npx tsc
npx tsc --init
{
"include": ["src"],
"compilerOptions": {
"outDir": "./build"
}
}
"scripts": {
"start": "tsc --watch"
}
npm start
https://ahmed0saber.github.io/quote-generator-with-typescript/
npm install typescript --save-dev
npx tsc
npx tsc --init
{
"include": ["src"],
"compilerOptions": {
"outDir": "./build"
}
}
"scripts": {
"start": "tsc --watch"
}
npm start