Skip to content

Commit a89ff52

Browse files
committed
update types
1 parent a8bd699 commit a89ff52

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/svelte/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,9 +1919,7 @@ declare module 'svelte/compiler' {
19191919
type: 'Attribute';
19201920
name: string;
19211921
/**
1922-
* A boolean attribute is either present (true) or not.
1923-
* Quoted/string values are represented as an array of alternating text and expressions whether
1924-
* complex (`"foo{x}bar"`) or holding just a single expression like `"{x}"`.
1922+
* Quoted/string values are represented by an array, even if they contain a single expression like `"{x}"`
19251923
*/
19261924
value: true | ExpressionTag | Array<Text | ExpressionTag>;
19271925
metadata: {

0 commit comments

Comments
 (0)