UNPKG

@envelop/core

Version:

This is the core package for Envelop. You can find a complete documentation here: https://github.com/n1ru4l/envelop

8 lines (7 loc) 398 B
import { ComposeContext, GetEnvelopedFn, Optional, Plugin } from '@envelop/types'; type ExcludeFalsy<TArray extends any[]> = Exclude<TArray[0], null | undefined | false>[]; export declare function envelop<PluginsType extends Optional<Plugin<any>>[]>(options: { plugins: PluginsType; enableInternalTracing?: boolean; }): GetEnvelopedFn<ComposeContext<ExcludeFalsy<PluginsType>>>; export {};