getSemanticDiagnosticsOfNextAffectedFile

abstract fun getSemanticDiagnosticsOfNextAffectedFile(cancellationToken: CancellationToken = definedExternally, ignoreSourceFile: (sourceFile: SourceFile) -> Boolean = definedExternally): AffectedFileResult<ReadonlyArray<Diagnostic>>(source)

Gets the semantic diagnostics from the program for the next affected file and caches it Returns undefined if the iteration is complete