interface MiniBrowserService {
    supportedFileExtensions(): Promise<Readonly<{
        extension: string;
        priority: number;
    }>[]>;
}

Implemented by

Methods

  • Resolves to an array of file extensions - priority pairs supported by the Mini Browser.

    The file extensions start without the leading dot (.) and should be treated in a case-insensitive way. This means, if the Mini Browser supports ['jpg'], then it can open the MyPicture.JPG file.

    Returns Promise<Readonly<{
        extension: string;
        priority: number;
    }>[]>