{"version":3,"sources":["../../src/utils/diagnostics.ts"],"sourcesContent":["import type ts from \"typescript\";\n\nimport { SetRequiredNonNullable } from \"./types.js\";\n\nexport type DiagnosticWithStart = SetRequiredNonNullable<\n\tts.Diagnostic,\n\t\"start\"\n>;\n\nexport function isDiagnosticWithStart(\n\tdiagnostic: ts.Diagnostic,\n): diagnostic is DiagnosticWithStart {\n\treturn !!diagnostic.start;\n}\n"],"mappings":";AASO,SAAS,sBACf,YACoC;AACpC,SAAO,CAAC,CAAC,WAAW;AACrB;","names":[]}