mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-10 04:00:10 +00:00
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:
1
sinon-chai/sinon-chai.d.ts
vendored
1
sinon-chai/sinon-chai.d.ts
vendored
@@ -80,5 +80,6 @@ declare module Chai {
|
||||
|
||||
declare module "sinon-chai" {
|
||||
function sinonChai(chai: any, utils: any): void;
|
||||
namespace sinonChai { }
|
||||
export = sinonChai;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user