Skip to content

Commit 2afafea

Browse files
committed
regenerate
1 parent be3a8a8 commit 2afafea

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/svelte/src/compiler/errors.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,15 @@ export function host_invalid_placement(node) {
198198
e(node, "host_invalid_placement", "`$host()` can only be used inside custom element component instances");
199199
}
200200

201+
/**
202+
* Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case
203+
* @param {null | number | NodeLike} node
204+
* @returns {never}
205+
*/
206+
export function import_svelte_internal_forbidden(node) {
207+
e(node, "import_svelte_internal_forbidden", "Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case");
208+
}
209+
201210
/**
202211
* Cannot use `export let` in runes mode — use `$props()` instead
203212
* @param {null | number | NodeLike} node
@@ -404,15 +413,6 @@ export function store_invalid_subscription(node) {
404413
e(node, "store_invalid_subscription", "Cannot reference store value inside `<script context=\"module\">`");
405414
}
406415

407-
/**
408-
* Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case
409-
* @param {null | number | NodeLike} node
410-
* @returns {never}
411-
*/
412-
export function import_svelte_internal_forbidden(node) {
413-
e(node, "import_svelte_internal_forbidden", "Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case");
414-
}
415-
416416
/**
417417
* Declaration cannot be empty
418418
* @param {null | number | NodeLike} node

0 commit comments

Comments
 (0)