UNPKG

@roots/bud-api

Version:

bud.js core module

11 lines (10 loc) 458 B
import type { Bud } from '@roots/bud-framework'; import type { Configuration } from '@roots/bud-framework/config'; export type Parameters<T extends `${keyof Configuration[`experiments`] & string}` = `${keyof Configuration[`experiments`] & string}`> = [ Partial<Configuration[`experiments`]> | T, Configuration[`experiments`][T]? ]; export interface experiments { (...parameters: Parameters): Bud; } export declare const experiments: experiments;