Skip to content

Commit b10274c

Browse files
authored
Fix typo (#947)
Fix typo
2 parents 19223ae + 10decb5 commit b10274c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)