Commit a902127
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments