Skip to content

Commit

Permalink
Fix misnamed TypeScript export for createConnectMiddleware
Browse files Browse the repository at this point in the history
Summary: Changelog: **[Types]** Fix TypeScript name for `createConnectMiddleware` export

Reviewed By: motiz88

Differential Revision: D46359488

fbshipit-source-id: 1b8c39cdede46f08383529446c71e28dd3493875
  • Loading branch information
huntie authored and facebook-github-bot committed Jun 2, 2023
1 parent 5f53a81 commit 06682f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/metro/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export function runMetro(
options?: RunMetroOptions,
): Promise<MetroServer>;

export function createConnectMiddleWare(
export function createConnectMiddleware(
config: ConfigT,
options?: RunMetroOptions,
): Promise<MetroMiddleWare>;
Expand Down

0 comments on commit 06682f8

Please sign in to comment.