mirror of https://github.com/sveltejs/svelte
parent
561ed8f3d9
commit
01cad3e056
@ -1,9 +1,4 @@
|
||||
declare const brand: unique symbol;
|
||||
type Brand<B> = { [brand]: B };
|
||||
type Branded<T, B> = T & Brand<B>;
|
||||
type AttachmentsKeySymbol = Branded<symbol, 'svelte.attachments'>;
|
||||
|
||||
/**
|
||||
* A unique symbol used for defining the attachments to be applied to an element or component.
|
||||
*/
|
||||
export const AttachmentsKey: AttachmentsKeySymbol;
|
||||
export const AttachmentsKey: unique symbol;
|
||||
|
||||
Loading…
Reference in new issue