BlockSuite API Documentation / @blocksuite/blocks / SpecBuilder
Class: SpecBuilder
Constructors
new SpecBuilder()
new SpecBuilder(
spec
):SpecBuilder
Parameters
spec
Returns
Defined in
packages/affine/shared/dist/utils/spec/spec-builder.d.ts:5
Accessors
value
Get Signature
get value():
ExtensionType
[]
Returns
Defined in
packages/affine/shared/dist/utils/spec/spec-builder.d.ts:4
Methods
extend()
extend(
extensions
):void
Parameters
extensions
Returns
void
Defined in
packages/affine/shared/dist/utils/spec/spec-builder.d.ts:6