language js

or {
  JsExportNamedFromClause() as $stmt,
  JsExportFromClause() as $stmt
} where {
  register_diagnostic(span=$stmt, message="Do not add hand-written re-exports. Import from the owning module directly.", severity="error")
}
