Ans: Yes, you can use the import statement outside a module. However, you must change some rules in the tsconfig.json file before to not face an error while doing so. The same goes for the package.json file in vanilla JavaScript.