If you're starting a new TypeScript (or JavaScript) project, you might be using a newer version of Yarn to manage your dependencies. If so, you'll probably run into a new feature known as Yarn PNP(Plug'n'Play). This is particularly true because it's enabled by default.
Full article