Skip to content

Commit 01cad3e

Browse files
committed
revert branded type change
1 parent 561ed8f commit 01cad3e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
declare const brand: unique symbol;
2-
type Brand<B> = { [brand]: B };
3-
type Branded<T, B> = T & Brand<B>;
4-
type AttachmentsKeySymbol = Branded<symbol, 'svelte.attachments'>;
5-
61
/**
72
* A unique symbol used for defining the attachments to be applied to an element or component.
83
*/
9-
export const AttachmentsKey: AttachmentsKeySymbol;
4+
export const AttachmentsKey: unique symbol;

0 commit comments

Comments
 (0)