Skip to content

Commit c0c3647

Browse files
authored
revert attr.ts
1 parent c4a74b7 commit c0c3647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/parser/converts/attr.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export function* convertAttributes(
106106
if (attr.type === "Ref") {
107107
throw new ParseError("Ref are not supported.", attr.start, ctx);
108108
}
109-
if (attr.type === "Style") {
109+
if ((attr as any).type === "Style") {
110110
throw new ParseError(
111111
`Svelte v3.46.0 is no longer supported. Please use Svelte>=v3.46.1.`,
112112
attr.start,

0 commit comments

Comments
 (0)