After writing code like underbelow
import { Reflector } from '@nestjs#0334/core';
export const AllowedRole = Reflector.createDecorator<>();
it said 'typeof Reflector' has no prooerty 'createDecorator'.
but it mentioned in Official Document in link below
https://docs.nestjs.com/fundamentals/execution-context#reflection-and-metadata
Is there any settings i need to do for using this feature?
Documentation | NestJS - A progressive Node.js framework
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).