mirror of
https://github.com/google/blockly.git
synced 2026-01-06 00:20:37 +01:00
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:
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user