Files
discord-clone/node_modules/unenv/dist/index.d.ts
2023-01-03 09:29:04 -06:00

24 lines
563 B
TypeScript

declare const NodeBuiltinModules: string[];
declare function mapArrToVal(val: any, arr: any[]): any;
interface Environment {
alias: {
[key: string]: string;
};
inject: {
[key: string]: string | string[];
};
polyfill: string[];
external: string[];
}
interface Preset extends Partial<Environment> {
}
declare const _default: Preset;
declare const nodeless: Preset;
declare function env(...presets: Preset[]): Environment;
export { Environment, NodeBuiltinModules, Preset, env, mapArrToVal, _default as node, nodeless };