Accessing container inside of a decorator
Is that possible to have access to the
container
inside of a decorator. I'm trying to use it in a createFunctionPrecondition
but I'm getting:
TypeError: Cannot read properties of undefined (reading 'container')
2 Replies
import { container } from '@sapphire/framework'
Well, that was what I did. For some reason that I can not explain I was getting an error. Seems be fixed now 
