Change decoratorsBeforeExport default to false (#8113)

This commit is contained in:
Nicolò Ribaudo
2018-06-04 21:12:01 +02:00
committed by GitHub
parent b445b79734
commit 6349118bed
6 changed files with 10 additions and 16 deletions

View File

@@ -263,8 +263,7 @@ export default class StatementParser extends ExpressionParser {
this.raise(
this.state.start,
"Using the export keyword between a decorator and a class is not allowed. " +
"Please use `export @dec class` instead, or set the " +
"'decoratorsBeforeExport' option to true.",
"Please use `export @dec class` instead.",
);
}
} else if (!this.canHaveLeadingDecorator()) {