🦉
Size: a a a
🦉
🦉
VK
DZ
🦉
🦉
DZ
VK
EZ
DP
PS
AK
function MyDecorator(name: string): MethodDecorator {
return function() {
console.log('CALLED');
};
}
@Controller('/api/features')
export class FeatureController {
constructor(private _featureService: FeatureService) {}
@Get('/')
@MyDecorator('testValue')
public async getEnabledFeatureList(): Promise<{[key in Features]?: boolean}> {
logger.info('`getEnabledFeatureList called');
return this._featureService.getEnabledFeatureList();
}
}
НК
a
A
A
🦉
A