Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Throw errors for non-class decorators #185

Copy link
Copy link
Closed
@ikatyang

Description

@ikatyang
Issue body actions

What code were you trying to parse?

@dec()
const a = 1

What did you expect to happen?

Throw an error.

What actually happened?

No decorators attached nor errors were thrown.

Versions

package version
@typescript-eslint/typescript-estree 1.1.0
TypeScript 3.2.2
node X.Y.Z
npm X.Y.Z

Original post: prettier/prettier#5823

Metadata

Metadata

Assignees

Labels

package: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estreetriageWaiting for team members to take a lookWaiting for team members to take a look

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.