diff --git a/package.json b/package.json index 6817fc7..e89daca 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "@types/js-yaml": "^4.0.9", "@types/lodash": "^4.14.202", "@types/node": "^20.10.6", + "@types/react": "^18.3.3", "@vue/eslint-config-typescript": "^12.0.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", diff --git a/src/components/JsonSchemaForm.vue b/src/components/JsonSchemaForm.vue index aca1e33..e1ec810 100644 --- a/src/components/JsonSchemaForm.vue +++ b/src/components/JsonSchemaForm.vue @@ -2,7 +2,7 @@ import Form from "@rjsf/core"; import validator from "@rjsf/validator-ajv8"; import { applyPureReactInVue } from "veaury"; -import { FormEvent } from "react"; +import type { FormEvent } from "react"; import useMessenger from "@/message/messenger.composable"; const VeauryForm = applyPureReactInVue(Form); diff --git a/src/corpus/config/SchemaConfig.vue b/src/corpus/config/SchemaConfig.vue index 1fdc592..9255ef7 100644 --- a/src/corpus/config/SchemaConfig.vue +++ b/src/corpus/config/SchemaConfig.vue @@ -1,7 +1,7 @@