diff options
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/import_export.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/import_export.md b/docs/examples/import_export.md index e87980bc7..1fa194d0c 100644 --- a/docs/examples/import_export.md +++ b/docs/examples/import_export.md @@ -63,7 +63,7 @@ from a locally stored arithmetic module. The same functionality can be created by importing `add` and `multiply` methods from a remote module too. In this case the Ramda module is referenced, including the version number. Also -note a JavaScript module is imported directly into a TypeSript module, Deno has +note a JavaScript module is imported directly into a TypeScript module, Deno has no problem handling this. **Command:** `deno run ./remote.ts` @@ -115,6 +115,6 @@ export function multiply(a: number, b: number): number { ``` All functions, classes, constants and variables which need to be accessible -inside external modules must be exported. Either by prepending them with the +inside external modules must be exported. Either by pretending them with the `export` keyword or including them in an export statement at the bottom of the file. |