We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b57898 commit 3f8feb9Copy full SHA for 3f8feb9
packages/svelte/src/compiler/phases/1-parse/read/context.js
@@ -22,14 +22,14 @@ export default function read_context(parser) {
22
const code = full_char_code_at(parser.template, i);
23
if (isIdentifierStart(code, true)) {
24
const name = /** @type {string} */ (parser.read_identifier());
25
- const typeAnnotation = read_type_annotation(parser);
+ const annotation = read_type_annotation(parser);
26
27
return {
28
type: 'Identifier',
29
name,
30
start,
31
end: parser.index,
32
- typeAnnotation
+ typeAnnotation: annotation
33
};
34
}
35
0 commit comments