insomnia/packages/insomnia-app/app/codemirror-graphql.d.ts
James Gatz 381cf74a19
Improve codemirror typings (#3993)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-08 15:38:07 +00:00

8 lines
233 B
TypeScript

import { GraphQLInfoOptions } from 'codemirror-graphql/info';
declare module 'codemirror-graphql/jump' {
type ModifiedGraphQLJumpOptions = Omit<GraphQLJumpOptions, 'onClick'> & {
onClick: GraphQLInfoOptions['onClick'];
};
}