API Reference
@univerjs
@univerjs/core
variables
Withnew

@univerjs/core v0.4.2Docs


Variable: WithNew

const WithNew: ToSelfDecorator;

Always initialize a new instance of that dependency instead of getting the cached instance from the injector.

Defined in

submodules/univer/node_modules/.pnpm/@wendellhu+redi@0.16.1/node_modules/@wendellhu/redi/esm/dependencyWithNew.d.ts:8


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