gpt4 book ai didi

i18next - 是否有 ng-i18next 的 typescript 定义文件?

转载 作者:行者123 更新时间:2023-12-05 04:29:51 25 4
gpt4 key购买 nike

我正在为库 ng-i18next(i18next for angularjs)中定义的抽象寻找 typescript 定义文件。

浏览the project's page我什么也没找到。当我解决问题时 -> 提问,我来到了 SO。

我无法在那里找到它,既没有使用 npm install ng-i18next 也没有使用下载的文件探索文件系统。

因此,不管用于搜索 typescript 定义文件的“界面”,基本上都没有运气。也许它不存在。

  1. 通过 web-gui

enter image description here

  1. 通过 local-cli enter image description here

如能提供有关此文件下落的任何数据,我们将不胜感激。

最佳答案

回答:https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/ng-i18next/index.d.ts

研究:知识库 https://github.com/i18next/ng-i18next有一个打字链接,它重定向到 https://www.npmjs.com/package/typings ,一个用于存储类型的已弃用的存储库,它在 readme.md 中表示以下消息:

Starting from TypeScript 2.0, users can install typings using npm install @types/<package>. These typings are coming from DefinitelyTyped.

因此,如果您在那个存储库 ( https://github.com/DefinitelyTyped/DefinitelyTyped ) 中查找 ng-i18next,它会出现,但是,它的界面只有选项:any,所以它不会给您任何帮助。

关于i18next - 是否有 ng-i18next 的 typescript 定义文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72207190/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com