mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[react-native] Fix return type of createObjectURL (#47957)
This commit is contained in:
parent
782b693e71
commit
c06fa19fdc
2
types/react-native/globals.d.ts
vendored
2
types/react-native/globals.d.ts
vendored
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user