feat: make ICopyable generic and update clipboard APIs (#7348)

* chore: rename module-local variables to not conflict

* feat: make ICopyable generic and update clipboard APIs

* chore: switch over more things to use generic ICopyables

* chore: fix shortcut items using copy paste

* chore: add test for interface between clipboard and pasters

* chore: export isCopyable

* chore: format

* chore: fixup PR comments

* chore: add deprecation tags
This commit is contained in:
Beka Westberg
2023-08-03 15:33:58 -07:00
committed by GitHub
parent ce1678e8a7
commit 001d9ff2c9
13 changed files with 169 additions and 63 deletions

View File

@@ -100,7 +100,7 @@ export class Type<_T> {
static ICON = new Type<IIcon>('icon');
/** @internal */
static PASTER = new Type<IPaster<ICopyData, ICopyable>>('paster');
static PASTER = new Type<IPaster<ICopyData, ICopyable<ICopyData>>>('paster');
}
/**