TypeScript is a language which extends JavaScript by adding type definitions. New React Native projects target TypeScript by default, but also support JavaScript and Flow.
Files with a .jsx / .js extension are treated as JavaScript instead of TypeScript, and will not be type checked.
So you can simply use JavaScript instead of TypeScript by changing extension from .tsx/.ts to .jsx/.js and also you may remove type annotations if any is there in your JavaScript files.
Ref : Using JavaScript Instead of TypeScript
Answer from ZFloc Technologies on Stack OverflowVideos
TypeScript is a language which extends JavaScript by adding type definitions. New React Native projects target TypeScript by default, but also support JavaScript and Flow.
Files with a .jsx / .js extension are treated as JavaScript instead of TypeScript, and will not be type checked.
So you can simply use JavaScript instead of TypeScript by changing extension from .tsx/.ts to .jsx/.js and also you may remove type annotations if any is there in your JavaScript files.
Ref : Using JavaScript Instead of TypeScript
There was an update recently and all new React Native projects are going to be created with TypeScript by default, but they also support JavaScript.
Project files with a .jsx .js extension are treated as JavaScript instead of TypeScript, and will not be typechecked. This means, you can create projects files as .jsx or .js and your project is going to work as expected.
If you want to create project with TypeScript files, but skip the typechecking, you can add // @ts-nocheck onto the top of each TypeScript files. However, this is not advised, it just gets rid of red lines in your IDE, without checking types in the project file.