是的,修饰函数你直接调用传入就行了`const test = LogError(function test() {})` [https://github.com/tc39/proposal-decorators](https://link.segmentfault.com/?enc=YNliuknyrMwqK02Sb3wqYg%3D%3D.IdQQfMDD8H0owE9Kw%2FxSNDFa8iqeJPPGCGaBOyp%2BIrbTcMPY316mk5G3bQydMpV3) 