quick-lint / quick-lint-js

quick-lint-js finds bugs in JavaScript programs
https://quick-lint-js.com
GNU General Public License v3.0
1.52k stars 191 forks source link

E0054 on abstract modifier after a decorator #1194

Closed Faithfinder closed 6 months ago

Faithfinder commented 7 months ago

Paste into web version:

@InterfaceType({
    resolveType: questionnaireTypeResolver,
})
abstract class QuestionnaireInterface {
    @Field()
    id!: string;

    @Field()
    title!: string;

    @Field(() => AssessmentType)
    type!: AssessmentType;
}
strager commented 6 months ago

Thanks for reporting. I fixed this in Git commit 77965450f24da5e027579db689be59f483c8da42. I will ship the fix in version 3.2.0.

strager commented 5 months ago

Fix released in version 3.2.0.