1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/cli/tools/repl
Bartek Iwańczuk b66f5ed00e
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>
2024-01-24 18:46:23 +05:30
..
channel.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
editor.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
mod.rs refactor(tools/repl): reorganize code (#21810) 2024-01-05 16:14:58 +01:00
session.rs feat: TC39 decorator proposal support (#22040) 2024-01-24 18:46:23 +05:30