diff --git a/packages/svelte/src/action/public.d.ts b/packages/svelte/src/action/public.d.ts index afd92e116d8f..5d23b4d608b6 100644 --- a/packages/svelte/src/action/public.d.ts +++ b/packages/svelte/src/action/public.d.ts @@ -23,8 +23,6 @@ * }; * } * ``` - * - * Docs: https://svelte.dev/docs/svelte-action */ export interface ActionReturn< Parameter = undefined, @@ -54,8 +52,6 @@ export interface ActionReturn< * * You can return an object with methods `update` and `destroy` from the function and type which additional attributes and events it has. * See interface `ActionReturn` for more details. - * - * Docs: https://svelte.dev/docs/svelte-action */ export interface Action< Element = HTMLElement, diff --git a/packages/svelte/src/animate/index.js b/packages/svelte/src/animate/index.js index 7c3eb90e5518..fbf2ac83e2a7 100644 --- a/packages/svelte/src/animate/index.js +++ b/packages/svelte/src/animate/index.js @@ -5,7 +5,6 @@ import { cubicOut } from '../easing/index.js'; * The flip function calculates the start and end position of an element and animates between them, translating the x and y values. * `flip` stands for [First, Last, Invert, Play](https://aerotwist.com/blog/flip-your-animations/). * - * https://svelte.dev/docs/svelte-animate#flip * @param {Element} node * @param {{ from: DOMRect; to: DOMRect }} fromTo * @param {FlipParams} params diff --git a/packages/svelte/src/compiler/index.js b/packages/svelte/src/compiler/index.js index 6cb31572957f..5eb22bcd0a47 100644 --- a/packages/svelte/src/compiler/index.js +++ b/packages/svelte/src/compiler/index.js @@ -15,7 +15,6 @@ export { default as preprocess } from './preprocess/index.js'; /** * `compile` converts your `.svelte` source code into a JavaScript module that exports a component * - * https://svelte.dev/docs/svelte-compiler#svelte-compile * @param {string} source The component source code * @param {CompileOptions} options The compiler options * @returns {CompileResult} @@ -54,7 +53,6 @@ export function compile(source, options) { /** * `compileModule` takes your JavaScript source code containing runes, and turns it into a JavaScript module. * - * https://svelte.dev/docs/svelte-compiler#svelte-compile * @param {string} source The component source code * @param {ModuleCompileOptions} options * @returns {CompileResult} @@ -74,7 +72,6 @@ export function compileModule(source, options) { * The `modern` option (`false` by default in Svelte 5) makes the parser return a modern AST instead of the legacy AST. * `modern` will become `true` by default in Svelte 6, and the option will be removed in Svelte 7. * - * https://svelte.dev/docs/svelte-compiler#svelte-parse * @overload * @param {string} source * @param {{ filename?: string; modern: true }} options @@ -87,7 +84,6 @@ export function compileModule(source, options) { * The `modern` option (`false` by default in Svelte 5) makes the parser return a modern AST instead of the legacy AST. * `modern` will become `true` by default in Svelte 6, and the option will be removed in Svelte 7. * - * https://svelte.dev/docs/svelte-compiler#svelte-parse * @overload * @param {string} source * @param {{ filename?: string; modern?: false }} [options] @@ -100,7 +96,6 @@ export function compileModule(source, options) { * The `modern` option (`false` by default in Svelte 5) makes the parser return a modern AST instead of the legacy AST. * `modern` will become `true` by default in Svelte 6, and the option will be removed in Svelte 7. * - * https://svelte.dev/docs/svelte-compiler#svelte-parse * @param {string} source * @param {{ filename?: string; rootDir?: string; modern?: boolean }} [options] * @returns {AST.Root | LegacyRoot} diff --git a/packages/svelte/src/compiler/preprocess/index.js b/packages/svelte/src/compiler/preprocess/index.js index f689206a0932..f26db16e2bf7 100644 --- a/packages/svelte/src/compiler/preprocess/index.js +++ b/packages/svelte/src/compiler/preprocess/index.js @@ -330,7 +330,6 @@ async function process_markup(process, source) { * The preprocess function provides convenient hooks for arbitrarily transforming component source code. * For example, it can be used to convert a