UNPKG

@visactor/vrender-core

Version:
8 lines (7 loc) 343 B
import type { interfaces } from '../interfaces/interfaces'; export type ServiceIdentifierOrFunc<T> = interfaces.ServiceIdentifier<T> | LazyServiceIdentifer<T>; export declare class LazyServiceIdentifer<T = unknown> { private _cb; constructor(cb: () => interfaces.ServiceIdentifier<T>); unwrap(): interfaces.ServiceIdentifier<T>; }