Skip to content

Not transpiling decorators #914

Open
@SimonSchick

Description

@SimonSchick
Contributor

It seems to emit decorators as-is in both experimental and regular mode.

Activity

jakebailey

jakebailey commented on May 22, 2025

@jakebailey
Member
mlarabi

mlarabi commented on Jun 21, 2025

@mlarabi

Yes, see: https://github.com/microsoft/typescript-go#what-works-so-far

Why decorator is not in the list? Or does the list only show the planned/ongoing features ?

jakebailey

jakebailey commented on Jun 21, 2025

@jakebailey
Member

Emit is marked as "in progress".

tmm1

tmm1 commented on Jun 21, 2025

@tmm1
Contributor

If you're interested it would need to be implemented here:

// !!! transform native decorator syntax
// !!! transform class field syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: EmitRelated to emit, AST printing, Program emit funcs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @tmm1@SimonSchick@jakebailey@mlarabi

        Issue actions

          Not transpiling decorators · Issue #914 · microsoft/typescript-go