I have a project whose structure of files and folders is as follows
app
core
|--Cumulus
|--|--Cumulu.ts
|--Dimensions
|--|--Dimension.ts
|--Galaxies
|--|--Galaxy.ts
|--SolarSystems
|--|--SolarSystem.ts
|--Universes
|--|--Universe.ts
c137.ts
package.json
I would like to know how I can transcompile all the files .ts
without having to go through each tsc file.ts
, tsc file2.ts
, tsc file3.ts
, the expected would be something like this:
app
core
|--Cumulus
|--|--Cumulu.js // javascript
|--|--Cumulu.ts
|--Dimensions
|--|--Universe.js // javascript
|--|--Universe.ts
|--Galaxies
|--|--Galaxy.js // javascript
|--|--Galaxy.ts
|--SolarSystems
|--|--SolarSystem.js // javascript
|--|--SolarSystem.ts
|--Universes
|--|--Universe.js // javascript
|--|--Universe.ts
c137.js // javascript
c137.ts
package.json