UNPKG

hswidget

Version:
17 lines (16 loc) 429 B
import m from "mithril"; declare type Vnode = m.Vnode<any, any>; declare class GetList { protected map?: (item: any[]) => string[]; private url; list: string[]; constructor(map?: (item: any[]) => string[]); search(list: string | string[]): void; private captureList; } export declare class TypeAhead { gl: GetList; oninit(node: Vnode): void; view(node: Vnode): m.Vnode<any, any>; } export {};