Support TypeScript 1.7 modules

This fix allows to import modules in TypesScript 1.7 using `import` keyword, like:
import * as sinonChai from 'sinon-chai';

The current version gives compilation error: "Module sinon-chai resolves to a non-module entity"
This commit is contained in:
Max Shmelev 2016-01-11 18:34:47 -05:00
parent 627b6c158b
commit ceedbb3550

View File

@ -80,5 +80,6 @@ declare module Chai {
declare module "sinon-chai" {
function sinonChai(chai: any, utils: any): void;
namespace sinonChai { }
export = sinonChai;
}