Skip to content

Code Generation using Annotation Processors (JSR 269) #6119

@ENikS

Description

@ENikS

I would like to propose a feature:
It would be extremely nice if TypeScript compiler allowed code generation and annotation processing similar to JSR 269.

Code in TS relies on runtime reflection for everything. If some of the analysis done at compile time and properly statically linked code generated, it would have huge performance increase during run time.
For example of successful implementation of this approach look and Google's Dagger 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions