Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function extendPiralApi(settings: PiralExtSettings = {}, customApis: Extend | Array = []) {
const extenders = Array.isArray(customApis) ? customApis : [customApis];
return [...extenders, ...createStandardApi(settings)];
}