method Program.prototype.getGlobalDiagnosticsimport { Program } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts"; getGlobalDiagnostics(): Diagnostic[]Gets the global diagnostics. Gets the global diagnostics. ReturnsDiagnostic[]