URL: {
prototype: URL;
createObjectURL(obj: Blob | MediaSource): string;
revokeObjectURL(url: string): void;
new (url: string | URL, base?: string | URL): URL;
}
Type declaration
-
- new (url: string | URL, base?: string | URL): URL
-
Parameters
-
url: string | URL
-
Optional
base: string | URL
Returns URL
-
prototype: URL
-
createObjectURL:function
- createObjectURL(obj: Blob | MediaSource): string
-
Returns string
-
revokeObjectURL:function
- revokeObjectURL(url: string): void
-
Returns void