Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Jan 22, 2024
1 parent c22e897 commit aabcdd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/svelte/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1402,6 +1402,11 @@ declare module 'svelte/compiler' {
item_name: string;
/** List of bindings that are referenced within the expression */
references: Binding[];
/**
* Optimization path for each blocks: If the parent isn't a fragment and
* it only has a single child, then we can classify the block as being "controlled".
* This saves us from creating an extra comment and insertion being faster.
*/
is_controlled: boolean;
};
}
Expand Down

0 comments on commit aabcdd4

Please sign in to comment.