Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public dynamicApi(root: string, options: readdir.Options): NodeJS.ReadableStream {
return readdir.readdirStreamStat(root, options);
}
ReaderStream.prototype.dynamicApi = function (root, options) {
return readdir.readdirStreamStat(root, options);
};
/**
ReaderAsync.prototype.dynamicApi = function (root, options) {
return readdir.readdirStreamStat(root, options);
};
/**
ReaderSync.prototype.dynamicApi = function (root, options) {
return readdir.readdirSyncStat(root, options);
};
/**
public dynamicApi(root: string, options: readdir.Options): Entry[] {
return readdir.readdirSyncStat(root, options);
}