BlockSuite API Documentation / @blocksuite/blocks / SpecBuilder
Class: SpecBuilder
Constructors
new SpecBuilder()
new SpecBuilder(
spec
):SpecBuilder
Parameters
• spec: ExtensionType
[]
Returns
Defined in
packages/blocks/src/_specs/utils/spec-builder.ts:10
Accessors
value
get
value():ExtensionType
[]
Returns
Defined in
packages/blocks/src/_specs/utils/spec-builder.ts:6
Methods
extend()
extend(
extensions
):void
Parameters
• extensions: ExtensionType
[]
Returns
void
Defined in
packages/blocks/src/_specs/utils/spec-builder.ts:14