Skip to content

TypedTransformAst

TypedTransformAst<SB> = TransformAst & object

Defined in: ast.ts:58

A TransformAst with a phantom type parameter that carries the spec builder type.

Format transforms (e.g., parseXlsx) use this to declare what spec builder API is available in emit(). The specBuilderFactory creates an instance of the spec builder at plan compile time.

readonly optional __specBuilder: SB

Phantom type — carries the spec builder type at the type level

readonly specBuilderFactory: () => SB

Factory to create a spec builder instance at compile time

SB

SB = SpecBuilder

The spec builder type available in emit() after this transform