Skip to content

Commit

Permalink
Replace $Call in metro
Browse files Browse the repository at this point in the history
Summary:
With the introduction of [new utility types](https://flow.org/en/docs/types/utilities/#toc-return-type) in Flow, these $Call are no longer needed

Changelog: [Internal]

Reviewed By: jbrown215

Differential Revision: D46862023

fbshipit-source-id: bae129e4fd85a44a07283bc012a0396213647fee
  • Loading branch information
SamChou19815 authored and facebook-github-bot committed Jun 21, 2023
1 parent c2d7539 commit 8ee654f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ const {
fromRawMappingsNonBlocking,
} = require('metro-source-map');

type ReturnType<F> = $Call<<A, R>((...A) => R) => R, F>;

function getSourceMapInfosImpl(
isBlocking: boolean,
onDone: ($ReadOnlyArray<ReturnType<typeof getSourceMapInfo>>) => void,
Expand Down

0 comments on commit 8ee654f

Please sign in to comment.