@types/codemirror
Version:
TypeScript definitions for codemirror
21 lines (17 loc) • 483 B
TypeScript
import "./show-hint";
declare module "../../" {
interface HintHelpers {
sql: HintFunction;
}
interface SqlHintTable {
columns: string[];
}
interface ShowHintOptions {
tables?:
| ReadonlyArray<string | { text: string; columns: string[] }>
| Record<string, string[] | { columns: string[] }>
| undefined;
defaultTable?: string | undefined;
disableKeywords?: boolean | undefined;
}
}