@visactor/vrender-core
Version:
## Description
8 lines (7 loc) • 343 B
TypeScript
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>;
}