See [TypeScript Declaration Publishing](http://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html) Right now VS Code doesn't automatically load bundled TypeScript definitions. Either two of the options from the link above should solve the problem. I've only checked adding `types: "./dist/common.d.ts"` property to `package.json` and it kind of worked (but still throwing errors about tough-cookie).