How to install jquery using typings

后端 未结 2 1417
南方客
南方客 2021-02-04 04:29

used:

typings install jquery --global

typings ERR! message Unable to find \"jquery\" (\"npm\") in the registry. Did you want to try searching another source? Al         


        
2条回答
  •  攒了一身酷
    2021-02-04 05:08

    If you are using typescript2.0 with the command:

    npm install -g typescript@2.0

    You can install jquery with the command:

    npm install --save @types/jquery

提交回复
热议问题