UNPKG

nextdevkit

Version:

A Comprehensive CLI Toolkit for Next.js Development

10 lines (9 loc) 460 B
/** * Retrieves the alias value from the project's tsconfig.json or jsconfig.json. * * @param {string} currentDirectory - The current working directory of the project. * @param isTs - A boolean indicating whether the project uses TypeScript. * @returns {Promise<string>} The alias value as a string. Defaults to '@' if not found. */ declare const getAliasValue: (currentDirectory: string, isTs: boolean) => Promise<string>; export default getAliasValue;