In the Handbook article about module resolution, it is described, that for e.g. import { name } from \'moduleB\';, it looks for /root/node_modules/@types/
import { name } from \'moduleB\';
/root/node_modules/@types/