File tree Expand file tree Collapse file tree 6 files changed +137
-145
lines changed
packages/svelte/src/compiler Expand file tree Collapse file tree 6 files changed +137
-145
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ import { error } from '../../../errors.js';
1313
1414/**
1515 * @param {import('../index.js').Parser } parser
16- * @returns {any }
16+ * @returns {import('estree').Pattern }
1717 */
18- export default function read_context ( parser ) {
18+ export default function read_pattern ( parser ) {
1919 const start = parser . index ;
2020 let i = parser . index ;
2121
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ export default function tag(parser) {
6565 const data = parser . read_until ( regex_closing_comment ) ;
6666 parser . eat ( '-->' , true ) ;
6767
68+ /** @type {ReturnType<typeof parser.append<import('#compiler').Comment>> } */
6869 parser . append ( {
6970 type : 'Comment' ,
7071 start,
You can’t perform that action at this time.
0 commit comments