attribute shorthand

pull/1330/head
Rich Harris 7 years ago
parent 7b5b236e1c
commit 31ee144b9c

@ -296,8 +296,6 @@ function readAttribute(parser: Parser, uniqueNames: Set<string>) {
if (parser.eat(parser.v2 ? '{' : '{{')) {
parser.allowWhitespace();
const spread = parser.eat('...');
if (parser.eat('...')) {
const expression = readExpression(parser);

Loading…
Cancel
Save