Description
Currently v2 of typescript is implementing npm's @types for resolution of types. Additionaly, if a npm's project have 'types' defined in its package.json, the compiler will see it too.
I think a problem (not really a problem) occurs when a project use jspm or another package manager that isn't npm. If the required project include it's typings, tsc will not find it unless I specify it manually in the tsconfig.json. Missing all the magic that is implemented for npm modules.
Allowing to jspm (or another package manager) development team (or anybody else) to build a type-resolver plugin for jspm and letting tsc use that type-resolver, every resolver can have access to the specific configuration (jspm.config.json for example) to resolve module names to files.
I hope you like the idea. Thanks!