mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
fixes chai-things import issues (#24975)
This commit is contained in:
committed by
Mohamed Hegazy
parent
1a8b08d6d9
commit
5e03bfd6b0
@@ -1,8 +1,7 @@
|
||||
|
||||
|
||||
import chai = require('chai');
|
||||
import chaiThings = require('chai-things');
|
||||
|
||||
import * as chai from 'chai';
|
||||
import * as chaiThings from 'chai-things';
|
||||
chai.use(chaiThings);
|
||||
|
||||
function test_somethingSyntax() {
|
||||
|
||||
Vendored
+1
@@ -60,5 +60,6 @@ interface Array<T> {
|
||||
|
||||
declare module "chai-things" {
|
||||
function chaiThings(chai: any, utils: any): void;
|
||||
namespace chaiThings { }
|
||||
export = chaiThings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user