tsconfig.jsonis present in the root folder of your app, the Homey CLI will default to TypeScript when running
homey app driver create. If you want to avoid this, remove or rename
homey app createin your terminal and answer 'Yes' when the CLI asks you to initialize your app with TypeScript utilities. All necessary and recommended dependencies and files will be created for you.
.tsconfig.jsonto the root folder of your App. This will make Homey recognize your app as a TypeScript app. You are free to configure
tsconfig.jsonto your liking. Only exception being the
outDirwhich should remain
sourceMap: trueis strongly recommended.
.tsconfig.jsonpresent in the root folder of your app. Then run the following command to install all necessary dependencies.
homey app run. If you performed all steps correctly, then you should see a
Compiling TypeScript...prompt before your app is being run.