API > @blocksuite/blocks > GetDataViewSelection
Type alias: GetDataViewSelection<K, T>
​
GetDataViewSelection: <
K
,T
>T
extends {type
:K
;} ?T
:never
Type parameters ​
Parameter | Default |
---|---|
K extends DataViewSelection ["type" ] | - |
T | DataViewSelection |
Defined In ​
packages/blocks/src/_common/utils/types.ts:99