summaryrefslogtreecommitdiff
path: root/docs/runtime/unstable.md
blob: 7fc60b4f8945ac57394093218f4b0987aa17a187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## Unstable

Not all of Deno's features are ready for production yet. Features which are not
ready because they are still in draft phase are locked behind the `--unstable`
command line flag. Passing this flag does a few things:

- 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.
  This includes the output of `deno types`.

You should be aware that unstable APIs have probably **not undergone a security
review**, are likely to have **breaking API changes** in the future and are
**not ready for production**.