emitNextAffectedFile

abstract fun emitNextAffectedFile(writeFile: WriteFileCallback = definedExternally, cancellationToken: CancellationToken = definedExternally, emitOnlyDtsFiles: Boolean = definedExternally, customTransformers: CustomTransformers = definedExternally): AffectedFileResult<EmitResult>(source)

Emits the next affected file's emit result (EmitResult and sourceFiles emitted) or returns undefined if iteration is complete The first of writeFile if provided, writeFile of BuilderProgramHost if provided, writeFile of compiler host in that order would be used to write the files