denoland / deno_ast

Source text parsing, lexing, and AST related functionality for Deno
https://crates.io/crates/deno_ast
MIT License
146 stars 45 forks source link

feat: Add support for decorator proposal #204

Closed bartlomieju closed 7 months ago

bartlomieju commented 7 months ago

Follow up to https://github.com/denoland/deno_ast/pull/201 that actually supports TC39 Decorator Proposal.

EmitOptions::use_decorators_proposal can be used to transpile to match proposal semantics.

bartlomieju commented 7 months ago

I'm gonna do something really bad and release it in a patch release - I've spent a couple hours today releasing all the crates to bump deno_ast across the stack and I don't have that time to spend again.