今天更新为PhpStorm 2016.2.1
根据我的TSLint规则,我的TS文件中的格式不正确。
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
]
在Editor > Code Style > Typescript
中,没有示例或规则来删除类型断言后的空格。