Skip to content

[Transforms] Decorator meta data property names, and shape have changed #7878

Closed

Description

As discussed offline, we should limit the breaking change for this iteration, and include these changes later on.

Expected:

MyClass = __decorate([
    someDecorator, 
    __metadata('design:paramtypes', [db_1.default])
], MyClass);
exports.MyClass = MyClass;

Actual:

MyClass = __decorate([
    someDecorator,
    __metadata("design:typeinfo", {
        paramTypes: function () { return [db_1.default]; }
    })
], MyClass);

Failed tests:

  • tests\cases\compiler\decoratorMetadataWithImportDeclarationNameCollision6.ts

Activity

  1. added a commit that references this issue on Apr 7, 2016
    4ead44d
  2. rbuckton commented on Apr 7, 2016

    @rbuckton
    Contributor

    Fixed in #7919.

  3. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptDomain: API: TransformsRelates to the public transform APIFixedA PR has been merged for this issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions