Skip to content

Commit 5c9d07d

Browse files
committed
fix: attr tag type narrowing
1 parent 26159c5 commit 5c9d07d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/language-tools/marko.internal.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ declare global {
402402
...path: Path
403403
): <
404404
Name extends string,
405-
AttrTags extends readonly ([0] extends [1 & Tag]
405+
const AttrTags extends readonly ([0] extends [1 & Tag]
406406
? Record<Name, Marko.AttrTag<unknown>>
407407
: Record<
408408
Name,

0 commit comments

Comments
 (0)