|
|
|
@ -654,8 +654,7 @@ function read_attribute(parser) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/** @type {AST.Directive} */
|
|
|
|
const directive = /** @type {AST.Directive} */ ({
|
|
|
|
const directive = {
|
|
|
|
|
|
|
|
start,
|
|
|
|
start,
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
type,
|
|
|
|
type,
|
|
|
|
@ -664,7 +663,7 @@ function read_attribute(parser) {
|
|
|
|
metadata: {
|
|
|
|
metadata: {
|
|
|
|
expression: new ExpressionMetadata()
|
|
|
|
expression: new ExpressionMetadata()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// @ts-expect-error we do this separately from the declaration to avoid upsetting typescript
|
|
|
|
// @ts-expect-error we do this separately from the declaration to avoid upsetting typescript
|
|
|
|
directive.modifiers = modifiers;
|
|
|
|
directive.modifiers = modifiers;
|
|
|
|
|