I find myself stuck in bed at the moment, and despite numerous Google searches with no clear answers, I have chosen to seek help here.
Could someone please clarify how scoping works when using import in TypeScript and determining whether to check the package.json file? For instance, when you use import * from ‘three’, what exactly prompts TypeScript to reference the package.json for 'three'?