getSyntacticDiagnostics
abstract fun getSyntacticDiagnostics(sourceFile: SourceFile = definedExternally, cancellationToken: CancellationToken = definedExternally): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<typescript/Diagnostic>(source)
Get the syntax diagnostics, for all source files if source file is not supplied