Fix typo
This commit is contained in:
parent
646989dd47
commit
49bc62eee9
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ import func from '/path/to/func.js';
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
Still, some teams consider it a serous drawback of default exports. So they prefer to always use named exports. Even if only a single thing is exported, it's still exported under a name, without `default`.
|
Still, some teams consider it a serious drawback of default exports. So they prefer to always use named exports. Even if only a single thing is exported, it's still exported under a name, without `default`.
|
||||||
|
|
||||||
That also makes re-export (see below) a little bit easier.
|
That also makes re-export (see below) a little bit easier.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue