Skip to content

Commit d24d8c5

Browse files
vzaidmanmeta-codesync[bot]
authored andcommitted
Sync node.js libdef with metro and restore sync test (#58733)
Summary: Pull Request resolved: #58733 Applies the metro #1989 node.js change (resolveObjectURL returns globalThis.Blob) to the React Native mirror copy, and re-enables flow-defs-sync-test (un-skips the parent diff). Changelog: [Internal] Reviewed By: cortinico Differential Revision: D122321586 fbshipit-source-id: ddbb9c94e3a67df5545e79c5b583bf1632fe7a94
1 parent a6c6fe9 commit d24d8c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎flow-typed/environment/node.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ declare module 'buffer' {
213213

214214
declare function isAscii(input: Buffer | ArrayBuffer | $TypedArray): boolean;
215215

216-
declare function resolveObjectURL(id: string): Blob | void;
216+
declare function resolveObjectURL(id: string): globalThis.Blob | void;
217217

218218
declare var Buffer: Node$Buffer;
219219
declare var Blob: typeof globalThis.Blob;

0 commit comments

Comments
 (0)