Skip to content

Fix TypeScript CI lint errors#1581

Closed
robhogan wants to merge 1 commit into
mainfrom
export-D82316554
Closed

Fix TypeScript CI lint errors#1581
robhogan wants to merge 1 commit into
mainfrom
export-D82316554

Conversation

@robhogan

Copy link
Copy Markdown
Contributor

Summary:
TS lints are currently failing in OSS CI due to three issues:

  • Verifying generated types are in sync sometimes takes slightly longer than 10s, allow 30s.
  • Use of Babel ambient types that exist in Flow but not TS - switch to an explicitly imported type instead.
  • Incorrect mapping of the ob1 package because its main file is not index.js but ob1.js

https://github.com/facebook/metro/actions/runs/17679616928/job/50250418546?pr=1580

Differential Revision: D82316554

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 12, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@robhogan has exported this pull request. If you are a Meta employee, you can view the originating diff in D82316554.

facebook-github-bot pushed a commit that referenced this pull request Sep 13, 2025
Summary:

TS lints are currently failing in OSS CI due to three issues:
 - Verifying generated types are in sync sometimes takes slightly longer than 10s, allow 30s.
 - Use of Babel ambient types that exist in Flow but not TS - switch to an explicitly imported type instead.
 - Incorrect mapping of the `ob1` package because its main file is not `index.js` but `ob1.js`

https://github.com/facebook/metro/actions/runs/17679616928/job/50250418546?pr=1580

Differential Revision: D82316554
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@robhogan has exported this pull request. If you are a Meta employee, you can view the originating diff in D82316554.

Summary:

TS lints are currently failing in OSS CI due to three issues:
 - Verifying generated types are in sync sometimes takes slightly longer than 10s, allow 30s.
 - Use of Babel ambient types that exist in Flow but not TS - switch to an explicitly imported type instead.
 - Incorrect mapping of the `ob1` package because its main file is not `index.js` but `ob1.js`

https://github.com/facebook/metro/actions/runs/17679616928/job/50250418546?pr=1580

Differential Revision: D82316554
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@robhogan has exported this pull request. If you are a Meta employee, you can view the originating diff in D82316554.

facebook-github-bot pushed a commit that referenced this pull request Sep 13, 2025
Summary:

TS lints are currently failing in OSS CI due to four issues:
 - Verifying generated types are in sync sometimes takes slightly longer than 10s, allow 30s.
 - Use of Babel ambient types that exist in Flow but not TS - switch to an explicitly imported type instead.
 - An intermediate raw mapping type that isn't exported in the TS Babel types - inline it.
 - Incorrect mapping of the `ob1` package because its main file is not `index.js` but `ob1.js`

Differential Revision: D82316554
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in e3ad8e0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants