UNPKG

483 BTypeScriptView Raw
1import "./show-hint";
2
3declare module "../../" {
4 interface HintHelpers {
5 sql: HintFunction;
6 }
7
8 interface SqlHintTable {
9 columns: string[];
10 }
11
12 interface ShowHintOptions {
13 tables?:
14 | ReadonlyArray<string | { text: string; columns: string[] }>
15 | Record<string, string[] | { columns: string[] }>
16 | undefined;
17 defaultTable?: string | undefined;
18 disableKeywords?: boolean | undefined;
19 }
20}