Skip to content

TS2Swift: warn on skipped exports#660

Merged
krodak merged 3 commits intomainfrom
katei/b8fc-ts2swift-should
Feb 19, 2026
Merged

TS2Swift: warn on skipped exports#660
krodak merged 3 commits intomainfrom
katei/b8fc-ts2swift-should

Conversation

@kateinoigakukun
Copy link
Member

Overview

  • Warn when TS exports cannot be generated (namespace re-exports, export assignments, unnamed or non-identifier exports).
  • Allow passing a diagnostic engine into run so tests can capture warnings without spying on stderr.
  • Add an export-default fixture plus coverage to ensure the warning is emitted once; update snapshots accordingly.

Testing

  • npm -C Plugins/BridgeJS/Sources/TS2Swift/JavaScript/ test

@krodak krodak merged commit bbdf7d5 into main Feb 19, 2026
20 of 24 checks passed
@krodak krodak deleted the katei/b8fc-ts2swift-should branch February 19, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments