gpt4 book ai didi

javascript - 在 index.d.ts 构建错误中找不到名称 'Record'

转载 作者:太空狗 更新时间:2023-10-30 01:13:40 25 4
gpt4 key购买 nike

我遇到了一个 The index is outside the matrix limits.在关注 this 时向我的 bundleConfig 添加包时出错关于 fullCalendar 的教程jQuery 插件

这些是 bundle 。由于版本较新,这些文件与教程中的文件略有不同。 注意:报错后我也尝试了老版本

        //Calendar css
bundles.Add(new StyleBundle("~/Content/fullcalendarcss").Include(
"~/Content/themes/base/jquery.ui.all.css",
"~/Content/fullcalendar.css"));

//Calendar script
bundles.Add(new StyleBundle("~/bundles/fullcalendarjs").Include(
"~/Scripts/jquery-ui-1.8.11.min.js",
"~/Scripts/moment.min.js",
"~/Scripts/fullcalendar.min.js"));

在谷歌搜索错误修复时,我遇到了 this修复更新包的 stackoverflow 页面。所以我做了并得到了以下错误:

Cannot find *projectname* name 'Record' & Cannot find *projectname* name 'undefined'它们都在 index.d.ts 内文件。

在谷歌搜索这些错误的修复程序时,我发现了几个页面,例如 this onethis one仅举几例,但无济于事。

我很困惑,找不到 Cannot find *projectname* name 'Record' 的解决方案& Cannot find *projectname* name 'undefined'错误。


编辑

我还尝试简单地删除给出错误的行:[name: string]: (BaseModifier & Record<string, any>) | undefined;但这只是给了我一个System.OutOfMemoryException .


有人知道我应该怎么做才能解决这个问题吗?

谢谢你。

最佳答案

答案在这里。您需要将 Typescript 更新到最新版本。

Build error "Cannot find name 'Record'" with bootstrap 4

关于javascript - 在 index.d.ts 构建错误中找不到名称 'Record',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48745028/

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