Actio
API ReferenceFunctions

createRegistry

function createRegistry(extra?): PassRegistry;

Defined in: packages/core/src/passes/index.ts:102

A registry seeded with the built-in passes, ready for extra ones to be added. A caller-supplied pass whose name matches a built-in replaces that built-in, so the pipeline can be customized without register() throwing on the clash. (register() itself stays strict; the dedupe happens here at the merge layer.)

Parameters

extra?

Pass[] = []

Returns

PassRegistry

On this page