mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 19:45:48 +08:00
Merge pull request #25647 from wingsbob/chai-jest-snapshot-without-synthetic-imports
Fixing chai-jest-snapshot export to match package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import chaiJestSnapshot from 'chai-jest-snapshot';
|
||||
import * as chaiJestSnapshot from 'chai-jest-snapshot';
|
||||
import { expect } from 'chai';
|
||||
|
||||
chai.use(chaiJestSnapshot);
|
||||
|
||||
2
types/chai-jest-snapshot/index.d.ts
vendored
2
types/chai-jest-snapshot/index.d.ts
vendored
@@ -40,4 +40,4 @@ interface ChaiJestSnapshot {
|
||||
}
|
||||
|
||||
declare var ChaiJestSnapshot: ChaiJestSnapshot;
|
||||
export default ChaiJestSnapshot;
|
||||
export = ChaiJestSnapshot;
|
||||
|
||||
Reference in New Issue
Block a user