error TS1219: Experimental support for decorators is a feature
来源:互联网 发布:淘宝店铺销量排行 编辑:程序博客网 时间:2024/05/16 17:03
在sublime 下 编辑typescript的decorator,
class Test{ @Override1('test') name:string = 'pat';}
进行编译时,报以下错误:
error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
解决方法:
在编译命令后加上编译参数:
"cmd": ["tsc.cmd", "$file","--experimentalDecorators","--emitDecoratorMetadata"]
0 0
- error TS1219: Experimental support for decorators is a feature
- Visual Page Editor has experimental support for Windows 64-bit
- OpenCV Error: The function/feature is not implemented (OpenCV was built without SURF support) in cvE
- OpenCV Error: The function/feature is not implemented (OpenCV was built without SURF support) in cvE
- configure: error: You need a C++ compiler for C++ support
- ERROR: JVMPI, an experimental interface, is no longer supported.
- SPDY: An experimental protocol for a faster web
- [error]configure: error: You need a C++ compiler for C++ support.
- [error]configure: error: You need a C++ compiler for C++ support.
- Install SVN Error:The Feature You Are Tring to Use is on a Network Resource That is Unvaliable
- What is best algorithm for feature extraction and feature selection?
- beaglebone 开发(PyBBIO is a Python library for hardware IO support on the TI Beaglebone)
- linux下安装安装pcre configure: error: You need a C++ compiler for C++ support
- linux下安装安装pcre-8.32 configure: error: You need a C++ compiler for C++ support
- linux下安装安装pcre-8.32 configure: error: You need a C++ compiler for C++ support
- Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plu
- Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plu
- Error: Error #2014: Feature is not available at this time.
- poj3752 字母旋转游戏
- pvid与vid详解
- 解决mybatis性能小常识
- linux系统管理命令3
- java基础学习(九)内部类
- error TS1219: Experimental support for decorators is a feature
- Cmake中的Glog用法浅析
- 提高篇——用函数实现选择发选法
- thinkphp框架中的支付宝支付功能简单介绍
- hive与hbase关联表
- Codeforces 362D Fools and Foolproof Roads【并查集+优先队列+思维】
- C++语言的基本符号与词汇
- viewpager无限滑动
- httpclient发送get请求并接收相应数据