chore: add `@since` tag to fragments option

pull/15990/head
Rich Harris 4 months ago
parent 6928aaca06
commit 1147e30217

@ -129,6 +129,7 @@ export interface CompileOptions extends ModuleCompileOptions {
* - `tree` creates the fragment one element at a time and _then_ clones it. This is slower, but works everywhere * - `tree` creates the fragment one element at a time and _then_ clones it. This is slower, but works everywhere
* *
* @default 'html' * @default 'html'
* @since 5.33
*/ */
fragments?: 'html' | 'tree'; fragments?: 'html' | 'tree';
/** /**

@ -992,6 +992,7 @@ declare module 'svelte/compiler' {
* - `tree` creates the fragment one element at a time and _then_ clones it. This is slower, but works everywhere * - `tree` creates the fragment one element at a time and _then_ clones it. This is slower, but works everywhere
* *
* @default 'html' * @default 'html'
* @since 5.33
*/ */
fragments?: 'html' | 'tree'; fragments?: 'html' | 'tree';
/** /**
@ -2888,6 +2889,7 @@ declare module 'svelte/types/compiler/interfaces' {
* - `tree` creates the fragment one element at a time and _then_ clones it. This is slower, but works everywhere * - `tree` creates the fragment one element at a time and _then_ clones it. This is slower, but works everywhere
* *
* @default 'html' * @default 'html'
* @since 5.33
*/ */
fragments?: 'html' | 'tree'; fragments?: 'html' | 'tree';
/** /**

Loading…
Cancel
Save