diff options
| author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-01-24 14:16:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-24 18:46:23 +0530 |
| commit | b66f5ed00e83927a976ffdbe45c2ace9641de086 (patch) | |
| tree | 60442b72d7f91659715d578c7d4d59c78c8537a9 /cli/Cargo.toml | |
| parent | aac0ad32bd589394316223f75e6f511331ff124c (diff) | |
feat: TC39 decorator proposal support (#22040)
This commit adds support for [TC39 Decorator
Proposal](https://github.com/tc39/proposal-decorators).
These decorators are only available in transpiled sources - ie.
non-JavaScript files (because of lack of support in V8).
This entails that "experimental TypeScript decorators" are not available
by default
and require to be configured, with a configuration like this:
```
{
"compilerOptions": {
"experimentalDecorators": true
}
}
```
Closes https://github.com/denoland/deno/issues/19160
---------
Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: crowlkats <crowlkats@toaxl.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'cli/Cargo.toml')
| -rw-r--r-- | cli/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml index a9a93a6fc..93258021b 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -55,7 +55,7 @@ winres.workspace = true [dependencies] deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] } deno_cache_dir = "=0.6.1" -deno_config = "=0.8.1" +deno_config = "=0.8.2" deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] } deno_doc = { version = "=0.94.1", features = ["html"] } deno_emit = "=0.34.0" |
