summaryrefslogtreecommitdiff
path: root/docs/getting_started
diff options
context:
space:
mode:
Diffstat (limited to 'docs/getting_started')
-rw-r--r--docs/getting_started/typescript.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/getting_started/typescript.md b/docs/getting_started/typescript.md
index 2fb00f98f..0a89b8a6c 100644
--- a/docs/getting_started/typescript.md
+++ b/docs/getting_started/typescript.md
@@ -30,9 +30,9 @@ information. For this purpose TypeScript provides the
To export a type in a different file use
`export type { AnInterface } from "./mod.ts";`. To import a type use
`import type { AnInterface } from "./mod.ts";`. You can check that you are using
-`import type` and `export type` where necessary by setting the
-`importsNotUsedAsValues` TypeScript compiler option to `"error"`. You can see an
-example `tsconfig.json` with this option
+`import type` and `export type` where necessary by setting the `isolatedModules`
+TypeScript compiler option to `true`. You can see an example `tsconfig.json`
+with this option
[in the standard library](https://github.com/denoland/deno/blob/master/std/tsconfig_test.json).
Because there is no type information when using `--no-check`, `const enum` is