pull/12207/head
Simon Holthausen 2 years ago
parent 95d9da332a
commit 38d54448e5

@ -80,7 +80,7 @@
## props_illegal_name
> Declaring or accessing a property starting with `$$` is illegal (they are reserved for Svelte internals)
> Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)
## props_invalid_identifier

@ -304,12 +304,12 @@ export function props_invalid_placement(node) {
}
/**
* Declaring or accessing a property starting with `$$` is illegal (they are reserved for Svelte internals)
* Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)
* @param {null | number | NodeLike} node
* @returns {never}
*/
export function props_illegal_name(node) {
e(node, "props_illegal_name", "Declaring or accessing a property starting with `$$` is illegal (they are reserved for Svelte internals)");
e(node, "props_illegal_name", "Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)");
}
/**

@ -4,6 +4,6 @@ export default test({
error: {
code: 'props_illegal_name',
message:
'Declaring or accessing a property starting with `$$` is illegal (they are reserved for Svelte internals)'
'Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)'
}
});

@ -4,6 +4,6 @@ export default test({
error: {
code: 'props_illegal_name',
message:
'Declaring or accessing a property starting with `$$` is illegal (they are reserved for Svelte internals)'
'Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)'
}
});

Loading…
Cancel
Save