chore: fix paster exports and registration (#7343)

This commit is contained in:
Beka Westberg
2023-07-31 10:46:49 -07:00
committed by GitHub
parent 68a8a5ff19
commit 74c01d2794
6 changed files with 54 additions and 2 deletions

View File

@@ -22,6 +22,8 @@ import type {Options} from './options.js';
import type {Renderer} from './renderers/common/renderer.js';
import type {Theme} from './theme.js';
import type {ToolboxItem} from './toolbox/toolbox_item.js';
import {IPaster} from './interfaces/i_paster.js';
import {CopyData, ICopyable} from './interfaces/i_copyable.js';
/**
* A map of maps. With the keys being the type and name of the class we are
@@ -96,6 +98,9 @@ export class Type<_T> {
/** @internal */
static ICON = new Type<IIcon>('icon');
/** @internal */
static PASTER = new Type<IPaster<CopyData, ICopyable>>('paster');
}
/**