Skip to content

Commit 10decb5

Browse files
author
Ovidiu Voicu
committed
Fix typo
1 parent 19223ae commit 10decb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/13-modules/02-import-export/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ export {default as Github} from './providers/github.js';
377377
````warn header="Re-exporting default is tricky"
378378
Please note: `export User from './user.js'` won't work. It's actually a syntax error. To re-export the default export, we must mention it explicitly `{default as ...}`, like in the example above.
379379
380-
Also, there's another oddity: `export * from './user.js'` re-exports only named exports, exluding the default one. Once again, we need to mention it explicitly.
380+
Also, there's another oddity: `export * from './user.js'` re-exports only named exports, excluding the default one. Once again, we need to mention it explicitly.
381381
382382
For instance, to re-export everything, two statements will be necessary:
383383
```js

0 commit comments

Comments
 (0)