Skip to content

no typescript support #875

@bitsmakerde

Description

@bitsmakerde

Hallo,

I try since one day to get this nice gherkin edtor works in my react typescript project with vite.

But if I want set something else as "ref" I get this error:

image

I don't understand why typescript don't find the properties for the editor. How I can fix my issue?

Thank you

Here my Versions

    "@forge/bridge": "^2.5.0",
    "@smartbear/react-gherkin-editor": "^2.4.14",
    "react": "^18.2.0",
    "react-dom": "^18.2.0"
  },
  "devDependencies": {
    "@testing-library/react": "^13.4.0",
    "@types/react": "^18.0.26",
    "@types/react-dom": "^18.0.10",
    "@vitejs/plugin-react": "^3.0.0",
    "@vitest/coverage-c8": "^0.26.3",
    "jsdom": "^20.0.3",
    "typescript": "^4.9.3",
    "vite": "^4.0.0",
    "vitest": "^0.26.3"
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions