UNPKG

denoify

Version:

For NPM module authors that would like to support Deno but do not want to write and maintain a port.

20 lines (19 loc) 644 B
import type { ConfigFileType } from "./fileAndContent"; export type DenoifyParams = { replacer?: string; ports?: { [portName: string]: string; }; out?: string; index?: string; includes?: (string | { src: string; destDir?: string; destBasename?: string; })[]; }; export declare function parseAsDenoifyParams(denoifyParams: any): DenoifyParams | undefined; export declare function parseAsDenoifyConfig({ configFileType }: { configFileType: ConfigFileType; }): DenoifyParams | undefined; export declare function getDenoifyParamsWithCosmiconfig(): Promise<DenoifyParams | undefined>;