Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crates/oxc_linter/src/module_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ impl<'a> From<&oxc_syntax::module_record::ImportImportName<'a>> for ImportImport
/// ```
#[derive(Debug, Default, Clone, PartialEq, Eq)]
pub struct ExportEntry {
/// Span of the export statement.
pub statement_span: Span,

/// Span for the entire export entry
pub span: Span,

Expand Down Expand Up @@ -319,6 +322,7 @@ pub struct ExportEntry {
impl<'a> From<&oxc_syntax::module_record::ExportEntry<'a>> for ExportEntry {
fn from(other: &oxc_syntax::module_record::ExportEntry<'a>) -> Self {
Self {
statement_span: other.statement_span,
span: other.span,
module_request: other.module_request.as_ref().map(NameSpan::from),
import_name: ExportImportName::from(&other.import_name),
Expand Down
Loading