Skip to content

Commit a902127

Browse files
committed
use default sinon-chai import
namespace import is broken, and only worked because it's the same as default import in CJS code (require()). error TS2345: Argument of type '{ default: ChaiPlugin; }' is not assignable to parameter of type 'ChaiPlugin'. Type '{ default: ChaiPlugin; }' provides no match for the signature '(chai: ChaiStatic, utils: ChaiUtils): void'.
1 parent c56f895 commit a902127

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/rxjs/spec/helpers/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**/
44

55
import * as chai from 'chai';
6-
import * as sinonChai from 'sinon-chai';
6+
import sinonChai from 'sinon-chai';
77

88
if (typeof Symbol !== 'function') {
99
let id = 0;

0 commit comments

Comments
 (0)