API Reference
@univerjs
@univerjs/core
functions
Touchdependencies

@univerjs/core v0.4.2Docs


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

submodules/univer/packages/core/src/common/di.ts:36 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.