A mapping of file extensions to loader functions. Each loader function takes a file path as a parameter and returns a BaseDocumentLoader instance.

interface LoadersMapping {
    [extension: string]: ((filePath) => CleanupMode);
}

Indexable

[extension: string]: ((filePath) => CleanupMode)

Generated using TypeDoc