我正在寻找一个为库NG-I18Next(gangularjs i18Next)中定义的摘要的打字稿定义文件。
查看项目的页面我什么都没找到。当我去讨论时 - >问,我降落在这里。
我在那里找不到 npm install ng-i18next
加上使用下载的文件探索文件系统。
因此,基本上没有运气无视用于搜索打字稿定义文件的“接口”。也许它不存在。
- 通过web-gui
- 通过local-cli
有关此文件的下落的任何数据将不胜感激。
I'm looking for a typescript definition file for the abstractions that are defined within the library ng-i18next (i18next for angularjs).
Looking through the project's page I didn't find anything. And when I go to issues -> ask, I landed here at SO.
I can't find it there neither using npm install ng-i18next
plus exploring the file system with the downloaded files.
So basically no luck disregarding the "interface" used for searching a typescript definition file. Perhaps it doesn't exists.
- Via web-gui

- Via local-cli

Any data about the whereabout of this file will be appreciated.
发布评论
评论(1)
答案:
研究:存储库 https://github.com/i18next/ng-i18next 具有打字的链接,它将其重定向到 https://www.npmjs.com/package/typings ,一个旧的存储库,用于存储打字,它在readme.md中说:
从TypeScript 2.0,用户可以使用NPM install @types/< package>。这些键入来自绝对胆约的
。 /肯定)如果您查找NG-I18Next,则它的界面似乎只有选项:任何,因此不会给您任何帮助。
Answer: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/ng-i18next/index.d.ts
Research: The repository https://github.com/i18next/ng-i18next has a link for typings, and it redirects to https://www.npmjs.com/package/typings, a deprecated repository that used to store typings, and it says in it's readme.md the following message:
Starting from TypeScript 2.0, users can install typings using npm install @types/<package>. These typings are coming from DefinitelyTyped.
So, in that repository (https://github.com/DefinitelyTyped/DefinitelyTyped) if you look for ng-i18next, it appears, nevertheless, its interface is just has options: any, so it doesn't give you any help.