From 10decb52eed04c8716f3751181c4e6be95c899e3 Mon Sep 17 00:00:00 2001 From: Ovidiu Voicu Date: Sat, 27 Apr 2019 16:45:34 +0300 Subject: [PATCH] Fix typo --- 1-js/13-modules/02-import-export/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/13-modules/02-import-export/article.md b/1-js/13-modules/02-import-export/article.md index bf31065b..21ac6315 100644 --- a/1-js/13-modules/02-import-export/article.md +++ b/1-js/13-modules/02-import-export/article.md @@ -377,7 +377,7 @@ export {default as Github} from './providers/github.js'; ````warn header="Re-exporting default is tricky" 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. -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. +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. For instance, to re-export everything, two statements will be necessary: ```js