NG-I18Next是否有任何打字稿定义文件?

发布于 2025-01-27 22:29:05 字数 736 浏览 3 评论 0 原文

我正在寻找一个为库NG-I18Next(gangularjs i18Next)中定义的摘要的打字稿定义文件。

查看项目的页面我什么都没找到。当我去讨论时 - >问,我降落在这里。

我在那里找不到 npm install ng-i18next 加上使用下载的文件探索文件系统。

因此,基本上没有运气无视用于搜索打字稿定义文件的“接口”。也许它不存在。

  1. 通过web-gui

  1. 通过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.

  1. Via web-gui

enter image description here

  1. Via local-cli
    enter image description here

Any data about the whereabout of this file will be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光倒影 2025-02-03 22:29:05

答案:

研究:存储库 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文