mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-26 14:58:55 +08:00
e7cc710f8e
Closes: [BS-2566](https://linear.app/affine-design/issue/BS-2566/remove-global-types-in-service)
14 lines
383 B
TypeScript
14 lines
383 B
TypeScript
import { effects as ParagraphHeadingIconEffects } from './heading-icon.js';
|
|
import { ParagraphBlockComponent } from './paragraph-block.js';
|
|
|
|
export function effects() {
|
|
ParagraphHeadingIconEffects();
|
|
customElements.define('affine-paragraph', ParagraphBlockComponent);
|
|
}
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'affine-paragraph': ParagraphBlockComponent;
|
|
}
|
|
}
|