mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 11:36:25 +08:00
17bf75e843
Closes: [BS-2216](https://linear.app/affine-design/issue/BS-2216/remove-global-types-in-command)
12 lines
244 B
TypeScript
12 lines
244 B
TypeScript
import { ListBlockComponent } from './list-block.js';
|
|
|
|
export function effects() {
|
|
customElements.define('affine-list', ListBlockComponent);
|
|
}
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'affine-list': ListBlockComponent;
|
|
}
|
|
}
|