diff options
Diffstat (limited to 'docs/runtime')
-rw-r--r-- | docs/runtime/program_lifecycle.md | 2 | ||||
-rw-r--r-- | docs/runtime/stability.md | 2 | ||||
-rw-r--r-- | docs/runtime/workers.md | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/docs/runtime/program_lifecycle.md b/docs/runtime/program_lifecycle.md index dda8a06f9..c7c3c46a3 100644 --- a/docs/runtime/program_lifecycle.md +++ b/docs/runtime/program_lifecycle.md @@ -8,7 +8,7 @@ Listener for `load` events can be asynchronous and will be awaited. Listener for Example: -```typescript +```ts // main.ts import "./imported.ts"; diff --git a/docs/runtime/stability.md b/docs/runtime/stability.md index a158638b9..cd7c27039 100644 --- a/docs/runtime/stability.md +++ b/docs/runtime/stability.md @@ -10,7 +10,7 @@ are not ready because they are still in draft phase are locked behind the - It enables the use of unstable APIs during runtime. - It adds the [`lib.deno.unstable.d.ts`](https://github.com/denoland/deno/blob/master/cli/js/lib.deno.unstable.d.ts) - file to the list of TypeScript definitions that are used for typechecking. + file to the list of TypeScript definitions that are used for type checking. This includes the output of `deno types`. You should be aware that unstable APIs have probably **not undergone a security diff --git a/docs/runtime/workers.md b/docs/runtime/workers.md index 0418f057e..3c39d2cee 100644 --- a/docs/runtime/workers.md +++ b/docs/runtime/workers.md @@ -20,7 +20,8 @@ new Worker("./worker.js", { type: "classic" }); ### Using Deno in worker -**UNSTABLE**: This feature is unstable and requires `--unstable` flag +> This is an unstable Deno feature. Learn more about +> [unstable features](./stability.md). By default `Deno` namespace is not available in worker scope. |