2017-08-31 53 views
0

我使用autobind-decoratorbind上下文到this流量类型关闭`实验装饰器使用量'的关闭警告#

但我得到警告/错误Experimental decorator usage (Decorators are an early stage proposal that may change)

enter image description here

我如何关闭这个警告呢?

+0

尝试将此添加到您的.babelrc文件:'{ “预设”:“反应天然的”],“插件”:“改造功能绑定”,“变换装饰-legacy“] }' – Cherniv

+0

@Cherniv您提供的配置使装饰者能够与[email protected]6一起工作。谢谢=)但警告仍然存在。 – Val

回答