pull/12849/head
Rich Harris 2 years ago
parent cac7d24dbc
commit a5267bdf57

@ -1486,12 +1486,18 @@ declare module 'svelte/compiler' {
interface Fragment {
type: 'Fragment';
nodes: Array<Text | Tag | ElementLike | Block | Comment>;
/**
* Fragments declare their own scopes. A transparent fragment is one whose scope
* is not represented by a scope in the resulting JavaScript (e.g. an element scope),
* and should therefore delegate to parent scopes when generating unique identifiers
*/
transparent: boolean;
metadata: {
/**
* Fragments declare their own scopes. A transparent fragment is one whose scope
* is not represented by a scope in the resulting JavaScript (e.g. an element scope),
* and should therefore delegate to parent scopes when generating unique identifiers
*/
transparent: boolean;
/**
* Whether or not we need to traverse into the fragment during mount/hydrate
*/
dynamic: boolean;
};
}
/**

Loading…
Cancel
Save