@univerjscorefunctionsCreateidentifier

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


Function: createIdentifier()

function createIdentifier<T>(id): IdentifierDecorator<T>

Create a dependency identifier

Type Parameters

Type Parameter
T

Parameters

ParameterTypeDescription
idstringname of the identifier

Returns

IdentifierDecorator<T>

Identifier that could also be used as a decorator

Defined in

packages/api/tmp/univer-pro/node_modules/.pnpm/@wendellhu+redi@0.16.1/node_modules/@wendellhu/redi/esm/decorators.d.ts:29