UNPKG

@accordproject/concerto-util

Version:

Utilities for Concerto Modeling Language

20 lines (19 loc) 577 B
import CompositeFileLoader = require('./compositefileloader'); /** * <p> * A default CompositeFileLoader implementation which supports * github://, http:// and https:// URLs. * </p> * @private * @class * @see See {@link CompositeFileLoader} * @memberof module:concerto-util */ declare class DefaultFileLoader<T> extends CompositeFileLoader<T> { /** * Create the DefaultFileLoader. * @param processFile - a function to apply to the content of the file */ constructor(processFile: (name: string, text: string) => T); } export = DefaultFileLoader;