Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/386.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PhpStorm中的JSLint变量声明和JSDoc_Jslint_Phpstorm_Jsdoc - Fatal编程技术网

PhpStorm中的JSLint变量声明和JSDoc

PhpStorm中的JSLint变量声明和JSDoc,jslint,phpstorm,jsdoc,Jslint,Phpstorm,Jsdoc,如何使PhpStorm理解这样声明的变量类型: 函数表示法(){ “严格使用”; 变量 /**@type{Number}*/ A. /**@type{jQuery}*/ B /**@type{htmlanchoreElement}*/ C } PhpStorm只知道最后一个变量类型并建议其方法/属性,但不知道变量“a”和“b”的类型 是否可以在PhpStorm中记录类型并与JSLint兼容?如果是,怎么做

如何使PhpStorm理解这样声明的变量类型:

函数表示法(){
“严格使用”;
变量
/**@type{Number}*/
A.
/**@type{jQuery}*/
B
/**@type{htmlanchoreElement}*/
C
}
PhpStorm只知道最后一个变量类型并建议其方法/属性,但不知道变量“a”和“b”的类型

是否可以在PhpStorm中记录类型并与JSLint兼容?如果是,怎么做