typescript-typings

    1热度

    1回答

    lodash的最新版本现在有一些新功能。例如:https://lodash.com/docs#nth。 但lodash typings是旧版本,并没有这些功能。 import _ = require('lodash'); 如何将这些函数的声明添加到_对象?

    4热度

    3回答

    我试图安装下划线分型,但在注册表中得到错误 无法找到“下划线”(“新公共管理”)。你想尝试搜索另一个来源吗?另外,如果你想贡献这些分型,请帮助我们:https://github.com/typings/registry 我已经根据我的研究和他人提供,你可以在图像看到的解决方案尝试了不同的交换机。 请让我知道如果我做错了什么。

    17热度

    2回答

    用于安装的jQuery: typings install jquery --global typings ERR! message Unable to find "jquery" ("npm") in the registry. Did you want to try searching another source? Also, if you want contribute these ty

    2热度

    2回答

    因此,我正在研究Ionice2项目(在这个问题上近乎一周还是新的),并且我正在尝试按照下面的教程来使用PouchDB for LocalStorage。 教程: http://gonehybrid.com/how-to-use-pouchdb-sqlite-for-local-storage-in-ionic-2/ 的要求之一是需要使用以下命令 typings install require --

    26热度

    2回答

    我不得不问,因为这让我疯狂。我看到了在Google上安装打字的npm方式,但Angular2's tutorial有一个添加了typings.json文件,然后添加了打字文件夹并从DefinitelyTyped自动下载了d.ts文件。我试过这与jQuery,但它没有下载。我也尝试重建项目,我期望package.json包含命令来添加额外的类型。 这里是我的脚本,从文件的package.json: