Skip to content

BlockSuite API Documentation / @blocksuite/blocks / SpecBuilder

Class: SpecBuilder

Constructors

new SpecBuilder()

new SpecBuilder(spec): SpecBuilder

Parameters

spec

ExtensionType[]

Returns

SpecBuilder

Defined in

packages/affine/shared/dist/utils/spec/spec-builder.d.ts:5

Accessors

value

Get Signature

get value(): ExtensionType[]

Returns

ExtensionType[]

Defined in

packages/affine/shared/dist/utils/spec/spec-builder.d.ts:4

Methods

extend()

extend(extensions): void

Parameters

extensions

ExtensionType[]

Returns

void

Defined in

packages/affine/shared/dist/utils/spec/spec-builder.d.ts:6