summaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/import_export.md5
-rw-r--r--docs/examples/manage_dependencies.md5
2 files changed, 2 insertions, 8 deletions
diff --git a/docs/examples/import_export.md b/docs/examples/import_export.md
index f2cd78222..e036f874d 100644
--- a/docs/examples/import_export.md
+++ b/docs/examples/import_export.md
@@ -20,10 +20,7 @@ specified in full. You may not omit the file extension and there is no special
handling of `index.js`.
```js
-import {
- add,
- multiply,
-} from "./arithmetic.ts";
+import { add, multiply } from "./arithmetic.ts";
```
Dependencies are also imported directly, there is no package management
diff --git a/docs/examples/manage_dependencies.md b/docs/examples/manage_dependencies.md
index 44b3082f8..357eccb4b 100644
--- a/docs/examples/manage_dependencies.md
+++ b/docs/examples/manage_dependencies.md
@@ -55,10 +55,7 @@ local `deps.ts` module.
* example.ts
*/
-import {
- add,
- multiply,
-} from "./deps.ts";
+import { add, multiply } from "./deps.ts";
function totalCost(outbound: number, inbound: number, tax: number): number {
return multiply(add(outbound, inbound), tax);