@atlaskit/app-provider
Version:
A top level provider for the Design System.
9 lines (8 loc) • 304 B
TypeScript
export interface Controller {
references: number;
release: () => void;
}
/**
* Enables a document attribute with reference-counted cleanup.
*/
export declare function installDocumentAttribute(targetDocument: Document, attribute: string, controllers: WeakMap<Document, Controller>): () => void;