使用Microsoft adal angular6会导致来自node_modules / @ types

时间:2019-03-25 15:35:58

标签: javascript angular web webpack active-directory

im为使用Active Directory的客户端设置新的身份验证。 香港专业教育学院安装了microsoft-adal-angular6,并且当安装此packge时,使用webpack时出现以下错误:

 ERROR in node_modules/@types/jquery/index.d.ts(8186,5): error TS2717: 
 Subsequent property declarations must have the same type.  Property 
 'char' 
  must be of type 'string', but here has type 'any'.
 node_modules/@types/jquery/index.d.ts(8188,5): error TS2717: Subsequent 
 property declarations must have the same type.  Property 'key' must be of 
 type 'string', but here has type 'any'.

由于我不知道可能会出什么问题,因此我从代码中删除了所有内容(删除为配置添加的所有ive内容,只保留安装本身),并发现此程序包直接探测错误。 / p>

有人在使用此软件包之前遇到过这种行为吗? 有没有人成功使用它? 万一我不能解决这个问题,那么使用另一个软件包的不利之处不是直接来自角度6吗?像角4?

0 个答案:

没有答案