fix(createObjectURL): use MDN type declaration (#1095)
* fix(createObjectURL): use MDN type declaration * fix(addedTypes.jsonc): remove URL
This commit is contained in:
Родитель
76512b377c
Коммит
975160c3eb
|
@ -14911,7 +14911,7 @@ interface URL {
|
|||
declare var URL: {
|
||||
prototype: URL;
|
||||
new(url: string | URL, base?: string | URL): URL;
|
||||
createObjectURL(object: any): string;
|
||||
createObjectURL(obj: Blob | MediaSource): string;
|
||||
revokeObjectURL(url: string): void;
|
||||
};
|
||||
|
||||
|
|
|
@ -3105,7 +3105,6 @@ interface URL {
|
|||
declare var URL: {
|
||||
prototype: URL;
|
||||
new(url: string | URL, base?: string | URL): URL;
|
||||
createObjectURL(object: any): string;
|
||||
};
|
||||
|
||||
interface URLSearchParams {
|
||||
|
|
|
@ -2981,7 +2981,7 @@ interface URL {
|
|||
declare var URL: {
|
||||
prototype: URL;
|
||||
new(url: string | URL, base?: string | URL): URL;
|
||||
createObjectURL(object: any): string;
|
||||
createObjectURL(obj: Blob): string;
|
||||
revokeObjectURL(url: string): void;
|
||||
};
|
||||
|
||||
|
|
|
@ -3188,7 +3188,7 @@ interface URL {
|
|||
declare var URL: {
|
||||
prototype: URL;
|
||||
new(url: string | URL, base?: string | URL): URL;
|
||||
createObjectURL(object: any): string;
|
||||
createObjectURL(obj: Blob): string;
|
||||
revokeObjectURL(url: string): void;
|
||||
};
|
||||
|
||||
|
|
|
@ -402,19 +402,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"URL": {
|
||||
"name": "URL",
|
||||
"methods": {
|
||||
"method": {
|
||||
"createObjectURL": {
|
||||
"exposed": "Window Worker",
|
||||
"overrideSignatures": [
|
||||
"createObjectURL(object: any): string"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NodeListOf": {
|
||||
"name": "NodeListOf",
|
||||
"typeParameters": [
|
||||
|
|
Загрузка…
Ссылка в новой задаче