fix(docs): fix bug in decorator example