Skip to content

Commit a0a875b

Browse files
committed
refactor: improve consistency
1 parent 4aefdfa commit a0a875b

3 files changed

Lines changed: 2 additions & 10 deletions

File tree

src/fake-js.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export function createFakeJsPlugin({
297297

298298
const str = s.toString()
299299
if (str.trim().length === 0) {
300-
return 'export {}'
300+
return 'export { };'
301301
}
302302

303303
return str

tests/rollup-plugin-dts/export-empty-object/known-diff.patch

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// index.d.ts
2-
export {}
2+
export { };

0 commit comments

Comments
 (0)