From 849431eb1d112d1f79f4a327830dc1a5bf22dd47 Mon Sep 17 00:00:00 2001 From: crowlKats <13135287+crowlKats@users.noreply.github.com> Date: Sat, 5 Sep 2020 22:34:20 +0200 Subject: Fix hellish mistake in manual (#7363) --- docs/examples/import_export.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/examples/import_export.md') diff --git a/docs/examples/import_export.md b/docs/examples/import_export.md index 22d02eea7..37ee8de06 100644 --- a/docs/examples/import_export.md +++ b/docs/examples/import_export.md @@ -1,8 +1,11 @@ # Import and Export Modules Deno by default standardizes the way modules are imported in both JavaScript and -TypeScript. It follows the ECMAScript 6 `import/export` standard with one -caveat, the file type must be included at the end of import statement. +TypeScript using the ECMAScript 6 `import/export` standard. + +It adopts browser-like module resolution, meaning that file names must be +specified in full. You may not omit the file extension and there is no special +handling of `index.js`. ```js import { -- cgit v1.2.3