Skip to content

Commit 3f8feb9

Browse files
committed
lint
1 parent 4b57898 commit 3f8feb9

File tree

1 file changed

+2
-2
lines changed
  • packages/svelte/src/compiler/phases/1-parse/read

1 file changed

+2
-2
lines changed

packages/svelte/src/compiler/phases/1-parse/read/context.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ export default function read_context(parser) {
2222
const code = full_char_code_at(parser.template, i);
2323
if (isIdentifierStart(code, true)) {
2424
const name = /** @type {string} */ (parser.read_identifier());
25-
const typeAnnotation = read_type_annotation(parser);
25+
const annotation = read_type_annotation(parser);
2626

2727
return {
2828
type: 'Identifier',
2929
name,
3030
start,
3131
end: parser.index,
32-
typeAnnotation
32+
typeAnnotation: annotation
3333
};
3434
}
3535

0 commit comments

Comments
 (0)