作者:鱼鱼de眼泪2012 | 来源:互联网 | 2023-06-26 18:43
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
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