@univerjscorefunctionsCreateidentifier

@univerjs/core v0.5.4


Function: createIdentifier()

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

Defined in: packages/api/tmp/univer-pro/node_modules/.pnpm/@wendellhu+redi@0.17.0/node_modules/@wendellhu/redi/esm/decorators.d.ts:30

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