Conversation
robhogan
force-pushed
the
pr1878
branch
2 times, most recently
from
August 25, 2026 15:51
bd25cf7 to
870998c
Compare
robhogan
force-pushed
the
pr1878
branch
2 times, most recently
from
August 25, 2026 16:31
948de45 to
65990e4
Compare
## TS error Currently, the generated `.d.ts` for this file causes a TS ESLint error: https://github.com/react/metro/actions/runs/32859032114/job/97838112966 ``` yarn run build-ts-defs && yarn lint ... metro/packages/metro/types/lib/metroSchemeResolver.d.ts 23:15 error 'metroSchemeResolver' is defined but only used as a type @typescript-eslint/no-unused-vars ✖ 1 problem (1 error, 0 warnings) error Command failed with exit code 1. ``` This is ultimately flow-api-translator producing messy output, but we can workaround it in the mean time by using an anonymous default export. ## Windows paths handling Additionally, CI fails on Windows because both of the new `metroSchemeResolver-test` and `createStaticCrawler-test` hardcode posix paths. Fix that with the usual normalisation pattern. Test plan: OSS CI is green on this PR.
Contributor
|
@vzaidman has imported this pull request. If you are a Meta employee, you can view this in D117379756. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TS error
Currently, the generated
.d.tsfor this file causes a TS ESLint error:https://github.com/react/metro/actions/runs/32859032114/job/97838112966
This is ultimately flow-api-translator producing messy output, but we can workaround it in the mean time by using an anonymous default export.
Windows paths handling
Additionally, CI fails on Windows because both of the new
metroSchemeResolver-testandcreateStaticCrawler-testhardcode posix paths. Fix that with the usual normalisation pattern.Test plan:
OSS CI is green on this PR.
Stack created with Sapling. Best reviewed with ReviewStack.