You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Diagnostics can take two forms. The PartialDiagnostic type, which has a lot of optional properties and allows building up diagnostics in a more raw manner. The Diagnostic type has required properties that during normalization from PartialDiagnostic are inferred if necessary. This format is what is exposed to consumers and formatting logic.
The package @romejs/diagnostics contains the type definitions, normalization logic, and other utilities.
Diagnostics are an extremely powerful feature of Rome that allow the generic construction and presentation of errors in source code.
packages/@romejs/diagnostics/types.ts
.PartialDiagnostic
type, which has a lot of optional properties and allows building up diagnostics in a more raw manner. TheDiagnostic
type has required properties that during normalization fromPartialDiagnostic
are inferred if necessary. This format is what is exposed to consumers and formatting logic.@romejs/diagnostics
contains the type definitions, normalization logic, and other utilities.@romejs/cli-diagnostics
contains the terminal formatting logic.The text was updated successfully, but these errors were encountered: