Closed heowc closed 2 years ago
I found this repository while writing to embed graphiql in my code. graphiql is using codemirror and additionally written addon exists. I would like to add an addon to it using react-codemirror2.
react-codemirror2
See https://github.com/graphql/graphiql/blob/main/packages/graphiql/src/components/QueryEditor.tsx/#L87...L91
I solved it by adding @ts-ignore . I'm not familiar with TypeScript, so I wasn't familiar with it. 😃
@ts-ignore
I found this repository while writing to embed graphiql in my code. graphiql is using codemirror and additionally written addon exists. I would like to add an addon to it using
react-codemirror2
.See https://github.com/graphql/graphiql/blob/main/packages/graphiql/src/components/QueryEditor.tsx/#L87...L91