user3887366
user3887366

Reputation: 2594

react create-app typescript compilerOptions file like angular

I'm just playing around with react typescript

and I'm wondering if its possible to have a dedicate

file with the compiler options like tsconfig.json in angular.

For instance how can set

"strict": true,

Upvotes: 0

Views: 44

Answers (1)

James
James

Reputation: 26

Yes, tsconfig.json is specific to TypeScript, not Angular. When you generate a new TypeScript project using create-react-app <app-name> --typescript, a tsconfig.json file will be generated too.

Upvotes: 1

Related Questions