diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-05-10 03:09:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 03:09:42 +0200 |
commit | 45f9b32ef0416e0477e9f5335df49ca3cccdb6eb (patch) | |
tree | b04cab2d36b39932320f9e95537910b8742f32f7 /docs/runtime | |
parent | f6b617784f53497b0c59d6f6f1370cb2223e38f3 (diff) |
Docs for deno test + minor other changes (#5185)
* Added fs events example.
* Added docs for `deno test`.
* Renamed file server example.
* Unified markdown code types.
* Removed plugin topics from TOC.
* Fixed links.
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. |