[react-native] Fix return type of createObjectURL (#47957)

This commit is contained in:
Andrew Goodale 2020-09-28 10:00:37 -04:00 committed by GitHub
parent 782b693e71
commit c06fa19fdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,7 +259,7 @@ declare type XMLHttpRequestResponseType = '' | 'arraybuffer' | 'blob' | 'documen
* built into React Native (as of 0.63) does not implement all the properties.
*/
declare class URL {
static createObjectURL(blob: Blob): URL;
static createObjectURL(blob: Blob): string;
static revokeObjectURL(url: string): void;
constructor(url: string, base?: string);