Skip to content

Commit

Permalink
fix: native tag return type (#2223)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuLaValva committed May 1, 2024
1 parent b0af4cf commit 1453eb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/warm-lamps-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"marko": patch
---

fix native tag return types
2 changes: 1 addition & 1 deletion packages/marko/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ declare global {
Return extends Element,
> {
input: Input;
return: () => Return;
return: { value: () => Return };
}
export interface NativeTags {
[name: string]: NativeTag<Record<string, any>, Element>;
Expand Down

0 comments on commit 1453eb8

Please sign in to comment.