Get supported file types

GroupDocs.Merger allows to get the list of all supported file types by following the below steps:

The following code sample demonstrates how to get supported file formats list.

const supportedFileTypes = groupdocs.merger.FileType.getSupportedFileTypes().toArray();
supportedFileTypes.forEach((fileType) => {
    console.log('\n' + fileType.getExtension());
});