MCPcopy
hub / github.com/midwayjs/midway / Provide

Function Provide

packages/core/src/decorator/common/provide.ts:4–8  ·  view source on GitHub ↗
(identifier?: ObjectIdentifier)

Source from the content-addressed store, hash-verified

2import { ObjectIdentifier } from '../../interface';
3
4export function Provide(identifier?: ObjectIdentifier) {
5 return function (target: any) {
6 DecoratorManager.saveProviderId(identifier, target);
7 };
8}

Callers 15

manager.tsFile · 0.90
book.service.tsFile · 0.90
hello.tsFile · 0.90
hello.tsFile · 0.90
apolloService.tsFile · 0.90
ProcessorFunction · 0.90
home.tsFile · 0.90
view.tsFile · 0.90
engine.tsFile · 0.90
dataService.tsFile · 0.90
func.tsFile · 0.90

Calls 1

saveProviderIdMethod · 0.80

Tested by

no test coverage detected