Skip to content

"allowJs": true leads to error in decorators "error TS1240: Unable to resolve signature of property decorator when called as an expression." #401

@pqr

Description

@pqr

TypeScript 2.0.10
ts-loader 1.2.2
Webpack 1.13.2

When using decorators from https://github.com/mobxjs/serializr library I see error "error TS1240: Unable to resolve signature of property decorator when called as an expression."

manual run tsc also works fine.

Regression introduced in v0.9.3
0.9.2 works fine!

I created minial repository to show the error: https://github.com/pqr/ts-loader-issue-401

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions