UNPKG

ts-add-js-extension

Version:

Add .js extension to each relative ESM import and export statement in JavaScript file

18 lines (17 loc) 648 B
import type { PartialConfig } from './cli-command-parser'; /** * @deprecated since version 1.4.0 * Will be deleted in version 2.0 * There is no need to parse config with this function * As configurations can be passed directly * Using this function will halt the program * And requires you to write configs directly * */ declare const parseConfig: (_: Readonly<Record<string, unknown>>) => never; declare const valuelizeConfig: (config: PartialConfig) => { readonly showChanges: boolean; readonly include: string[]; readonly dir: string; }; export { valuelizeConfig, parseConfig }; export type { PartialConfig as ParsedConfig };