Skip to content

Commit 57605b9

Browse files
authored
Update defaultIsBad.md
1 parent b3f07e2 commit 57605b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/tips/defaultIsBad.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ import {Foo} from "./foo";
3535
```ts
3636
import {/*here*/} from "./foo";
3737
```
38+
39+
> Bonus points: Better commonJs experience
40+
41+
Also its makes for a horrible experience for commonjs users who have to `const {default} = require('module/foo');` instead of `const {foo} = require('module/foo')`

0 commit comments

Comments
 (0)