@univerjscorefunctionsTouchdependencies

@univerjs/core v0.5.0-beta.1Docs


Function: touchDependencies()

function touchDependencies(injector, dependencies): void

Touch a group of dependencies to ensure they are instantiated.

Parameters

ParameterTypeDescription
injectorInjectorThe injector to touch the dependencies.
dependencies[DependencyIdentifier<unknown>][]The dependencies to touch.

Returns

void

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/di.ts:36