tsd install和tsd query命令返回"零结果"消息

Ami*_*ngh 12 angularjs typescript angular-material typescript-typings

当我在git bash windows中运行任何这些命令时

tsd查询角度材料

tsd查询角度

tsd安装角度角材料

每次我收到此消息">>零结果"

小智 17

tsd已弃用(您可以在此处查看).以下步骤帮助我安装了类型定义.

在应用程序文件夹中

  1. 删除打字文件夹(如果存在)
  2. 运行以下命令

    npm init

    npm install --save @types/angular

    npm install --save @types/jquery

    npm install --save @types/lodash


Aza*_*ndi 12

我是新手来输入脚本,我遇到的问题与你现在的问题相同.似乎tsd已过时,你需要使用打字.

npm install typings --global
Run Code Online (Sandbox Code Playgroud)

似乎tsd已过时,你需要使用打字.

typings install dt~angular --global
Run Code Online (Sandbox Code Playgroud)