-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Open
Labels
Domain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
TypeScript Version: 2.7.0-dev.20171230
Code
import { component } from "babyioc";
import { Member } from "./Effects";
class Example {
@component(Member);
public readonly member: Member;
}Expected behavior:
file.ts(6,23): error TSXXXX: Semicolons not allowed after decorators.
Actual behavior:
file.ts(6,23): error TS1146: Declaration expected.
Not very important IMO, but a little confusing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Domain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript