From d01f3912f59cfb8c3ee52a5437887289a4df53b4 Mon Sep 17 00:00:00 2001 From: LuLaValva Date: Fri, 4 Oct 2024 12:18:11 -0700 Subject: [PATCH] fix: add const return to forAttrTag helpers --- packages/language-tools/marko.internal.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/language-tools/marko.internal.d.ts b/packages/language-tools/marko.internal.d.ts index b8f2e3af..070378b4 100644 --- a/packages/language-tools/marko.internal.d.ts +++ b/packages/language-tools/marko.internal.d.ts @@ -211,7 +211,7 @@ declare global { export function forAttrTag< Value extends Iterable | readonly any[], - Return, + const Return, >( input: { of: Value; @@ -231,7 +231,7 @@ declare global { : never; }; - export function forAttrTag( + export function forAttrTag( input: { in: Value; }, @@ -248,7 +248,7 @@ declare global { From extends void | number, To extends number, Step extends void | number, - Return, + const Return, >( input: { from?: From; @@ -270,7 +270,7 @@ declare global { : never; }; - export function forAttrTag(attrs: { + export function forAttrTag(attrs: { input: | { of: any;