UNPKG

@roots/bud-build

Version:

bud.js core module

19 lines (18 loc) 573 B
import type { Bud } from '@roots/bud-framework'; import type { Base as BuildBase } from '@roots/bud-framework/services/build'; declare class Registrable implements BuildBase { _app: () => Bud; /** * Constructor */ constructor(_app: () => Bud); /** * Application getter * * @readonly @public */ get app(): Bud; unwrap<T = any>(maybeFunction: ((app: Bud, ...options: Array<any>) => T) | T, ...options: Array<any>): T; wrap<T = any>(input: ((app: Bud) => T) | T): (app: Bud) => T; } export { Registrable as default };