@kaspersky/dev-tools
Version:
Development tools and configs for Babel, ESLint and TypeScript
8 lines (7 loc) • 452 B
TypeScript
/**
* babel function compiles configuration parameters that can be used in project-connected babel.config.js.
* We assume, that project uses babel 7 and already moved from using .babelrc to babel.config.js
* @param {...any} args Babel provides api so we leave ...args argument in case we need to work with api
* @returns { Object } babel config. Every key can be accessed using babel documentation.
*/
export function babel(...args: any[]): any;