UNPKG

codemirror-graphql

Version:
18 lines (13 loc) 378 B
import 'codemirror/addon/hint/show-hint'; declare module 'codemirror' { let Init: any; interface Editor { doc: CodeMirror.Doc; getHelper(pos: { line: number; ch: number }, type: string): any; getHelpers(pos: { line: number; ch: number }, type: string): any[]; } interface ShowHintOptions { hint?: ShowHintOptions['hint']; } const hint: object; }