热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Couldnotfindadeclarationfileformodule'reacttinacmseditor'

DescriptionWhenimportingfromreact-tinacms-editor,Iget:


Description

When importing from react-tinacms-editor, I get:

1
Could not find a declaration file for module 'react-tinacms-editor'.

Steps to reproduce


1
import { MarkdownFieldPlugin } from "react-tinacms-editor";

Expected result

Types should be imported correctly, and build succeeds without having to

1
//-ignore

Actual result

Typescript build failed

Environment


Tinacms Package Versions

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
text

├─┬ react-tinacms-editor.32.0

├─┬ react-tinacms-inline.32.0

├─┬ tinacms.32.0

│ ├── /alerts.32.0

│ ├── /core.32.0

│ ├─┬ /fields.32.0

│ ├─┬ /form-builder.32.0

│ ├─┬ /forms.32.0

│ ├── /icons.31.0

│ ├── /react-alerts.32.0

│ ├─┬ /react-core.32.0

│ ├─┬ /react-forms.32.0

│ ├── /react-modals.32.0

│ ├── /react-screens.32.0

│ ├─┬ /react-sidebar.32.0

│ ├─┬ /react-toolbar.32.0

│ ├─┬ /styles.29.0

NextJS site
Mac OSX.

It's a private repo, but ping me if you'd like access

该提问来源于开源项目:tinacms/tinacms

released in 0.32.1





   



推荐阅读
author-avatar
鱼鱼de眼泪2012
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有