UNPKG

client-search

Version:

客户端搜索

12 lines (11 loc) 448 B
import Service from './service'; export default class Controller { protected params: HouseListParams; protected houseList: IHouseDetail[]; protected hasNext: boolean; protected service: Service; protected option: IOptions; constructor(option: IOptions); protected fetch<T>(input: string, init?: RequestInit): Promise<T>; protected fetchHouseListWithParams(immediate?: boolean): Promise<IHouseDetail[]>; }