UNPKG

wiki-entity

Version:
9 lines (8 loc) 395 B
export declare type PlainObject<T> = { [index: string]: T; }; export declare type AnyPlainObject = PlainObject<any>; export declare type StringPlainObject = PlainObject<string>; export declare function eachSeries<T>(arr: any[], iteratorFn: (item: any) => Promise<T>): any; export declare function uniq<T>(items: T[]): T[]; export declare function isValidWikiId(id: string): boolean;