Skip to content

Commit 9181cfe

Browse files
latte
1 parent d111cfc commit 9181cfe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/languages/latte.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
},
3939
});
4040

41-
return /** @type {Grammar} */ ({
41+
return {
4242
'latte-comment': {
4343
pattern: /\{\*[\s\S]*?\*\}/,
4444
greedy: true,
@@ -66,8 +66,8 @@ export default {
6666
},
6767
},
6868
},
69-
$tokenize: /** @type {Grammar['$tokenize']} */ (embeddedIn(markupLatte)),
70-
});
69+
$tokenize: embeddedIn(markupLatte),
70+
};
7171
},
7272
};
7373

0 commit comments

Comments
 (0)