Skip to content

Re-export MarkdownStyle from MarkdownTextInput.web - #777

Merged
roryabraham merged 1 commit into
mainfrom
rory/export-markdown-style-from-web
Sep 9, 2026
Merged

Re-export MarkdownStyle from MarkdownTextInput.web#777
roryabraham merged 1 commit into
mainfrom
rory/export-markdown-style-from-web

Conversation

@roryabraham

Copy link
Copy Markdown
Contributor

Details

Native MarkdownTextInput already re-exports MarkdownStyle. The package barrel re-exports that type from ./MarkdownTextInput. Consumers using TypeScript moduleSuffixes: [".web", ""] (e.g. Expensify App web) resolve that specifier to MarkdownTextInput.web first, so MarkdownStyle was missing on web and became an error/any under skipLibCheck. This change re-exports MarkdownStyle from the web file to match native.

Related Issues

Expensify/App#99495 (consumer PR that surfaced this; no auto-close)

Manual Tests

Type-only change; no runtime tests needed.

  1. Import MarkdownStyle from the package barrel.
  2. Confirm the import type-checks under moduleSuffixes: [".web", ""].

Linked PRs

Expensify/App#99495

Native MarkdownTextInput already re-exports MarkdownStyle. The barrel
re-exports it from ./MarkdownTextInput, which resolves to the .web file
first when consumers use moduleSuffixes: [".web", ""].
@roryabraham roryabraham self-assigned this Sep 9, 2026
@roryabraham
roryabraham merged commit c9c844a into main Sep 9, 2026
9 of 10 checks passed
@roryabraham
roryabraham deleted the rory/export-markdown-style-from-web branch September 9, 2026 23:18
@os-botify

os-botify Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

🚀 Published to npm in 0.1.339 🎉

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