Skip to content

Commit 1e5dfca

Browse files
authored
fix: TS error when skipLibCheck is false (#26)
1 parent 6570b86 commit 1e5dfca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,5 @@ class ReactRefreshRspackPlugin {
140140
}
141141
}
142142

143-
// @ts-expect-error output module.exports
144-
export = ReactRefreshRspackPlugin;
143+
export default ReactRefreshRspackPlugin;
144+
export { ReactRefreshRspackPlugin };

0 commit comments

Comments
 (0)