Skip to content

createSourceFileTap

Create a tap for SourceFile context interface.

import { createSourceFileTap } from "@alloy-js/core";
function createSourceFileTap(handler?: TapHandler<SourceFileContext>): Tap<SourceFileContext>;
handleroptional

TapHandler<SourceFileContext>

Tap<SourceFile context interface>