Assume that your team is developing a TypeScript application. Your team member is using the below command for transpiling the code. 

tsc demo.ts --module amd --target ES2015 --outDir output --sourceMap

He finds it difficult that he has to enter all these configuration options each time he does the transpilation. Suggest a better way to help him achieve the requirement.

Create a package.json file and add all the compiler options to that.

Create a tsconfig.json file and all the compiler options to that.

Create a config.ts file and add all the compiler options to that.

Create a configs.json file and add all the compiler options to that.

Verified Answer
Correct Option - b

To get all Infosys Certified TypeScript Professional Exam questions Join Telegram Group https://bit.ly/infy_premium_group

Telegram

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in

Updated on Tue, 1 Jul 2025