UNPKG

@opra/core

Version:
12 lines (11 loc) 520 B
import type { Nullish } from 'ts-gems'; import type { ExecutionContext } from './execution-context.js'; export declare abstract class ServiceBase { protected _context: ExecutionContext; get context(): ExecutionContext; for<C extends ExecutionContext, P extends Partial<this>>(context: C | ServiceBase, overwriteProperties?: Nullish<P>, overwriteContext?: Partial<C>): this & Required<P>; protected _assertContext(): void; } export declare namespace ServiceBase { const extendSymbol: unique symbol; }