/a.ts(1,22): error TS2307: Cannot find module 'foo'.


==== /a.ts (1 errors) ====
    import foo = require("foo");
                         ~~~~~
!!! error TS2307: Cannot find module 'foo'.
    
==== /node_modules/foo/package.json (0 errors) ====
    { "main": "oof" }
    
==== /node_modules/foo/oof/package.json (0 errors) ====
    { "main": "ofo" }
    
==== /node_modules/foo/oof/ofo.js (0 errors) ====
    module.exports = 0;
    