Skip to content

Commit

Permalink
fix: add _return as a global attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Jul 13, 2022
1 parent b606203 commit 4029122
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/witty-cooks-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marko/tags-api-preview": patch
---

Fix issue where `_return` (used internally) was not registered as a taglib attribute
7 changes: 6 additions & 1 deletion marko.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
"taglibId": "@marko/tags-api-preview",
"tagsDir": "./src/components",
"transform": "./src/transform",
"translate": "./src/translate"
"translate": "./src/translate",
"attributes": {
"_return": {
"type": "expression"
}
}
}

0 comments on commit 4029122

Please sign in to comment.