We have a project using TypeScript with ts-loader in Webpack, for most of the things we\'ve used now there were type definitions in Definitely Types (via typings
),
# declarations.d.ts
declare module '*';
# someFile.ts
import * as $ from 'jquery';
import * as _ from 'lodash';
If you have types for one module code completion should work and the compiler will assume you know what you are doing. I think ts loader should respect that as well. Please test and let me know.