Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Mar 24, 2023
1 parent 067806f commit 01ac815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/language-js/parse/postprocess/typescript.js
Expand Up @@ -67,9 +67,9 @@ function throwErrorForInvalidDecorator(node) {
modifier,
"A decorator can only decorate a method implementation, not an overload."
);
} else {
throwErrorOnTsNode(modifier, "Decorators are not valid here.");
}

throwErrorOnTsNode(modifier, "Decorators are not valid here.");
}
}
}
Expand Down

0 comments on commit 01ac815

Please sign in to comment.