Variable URL

    URL: {
        prototype: URL;
        canParse(url: string | URL, base?: string | URL): boolean;
        createObjectURL(obj: Blob): string;
        parse(url: string | URL, base?: string | URL): URL;
        revokeObjectURL(url: string): void;
        new (url: string | URL, base?: string | URL): URL;
    }

    Type declaration

      • new (url, base?): URL
      • Parameters

        • url: string | URL
        • Optionalbase: string | URL

        Returns URL

    • prototype: URL
    • canParse:function
      • Parameters

        • url: string | URL
        • Optionalbase: string | URL

        Returns boolean

    • createObjectURL:function
    • parse:function
    • revokeObjectURL:function
      • Parameters

        • url: string

        Returns void