在 dist/index.d.ts 中出现打字错误
GrapesJS 版本 [X] 我确认使用最新版本 GrapesJS 你用的是什么浏览器? Firefox 可复制演示链接 分部/index.d.ts 描述一下那个虫子 打字错误?property 而非财产 不知道严重吗 第8053/8054行 : ' addBuiltIn(prop: string, definition: Omit<PropertyProps, “property”> & { proeperty?:“弦”; 行为准则 [X] 我同意遵守本项目的行为准则
GJS Helper
感谢您在GrapesJS TypeScript声明文件中报告了这个错别字错误。你说得完全正确;dist/index.d.ts的第8053/8054行确实有个拼写错误。 根本原因 问题在于一个简单的拼写错误,dist/index.d.ts文件中的PropertyProps接口定义中使用了proeperty而不是property。该文件是自动从GrapesJS源代码生成的,意味着拼写错误源自生成该声明的源TypeScript/JSDoc注释。 具体来说,相关系列包括: 影响 这...