Skip to content

Commit 9d0e903

Browse files
committed
refactor: correctly define module.exports for TypeScript
1 parent 1cd47b8 commit 9d0e903

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ const JSONLDSerializer: jest.SnapshotSerializerPlugin = {
2323
}
2424
};
2525

26-
module.exports = JSONLDSerializer;
27-
export default JSONLDSerializer;
26+
export = JSONLDSerializer;

0 commit comments

Comments
 (0)