mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
22 lines
492 B
TypeScript
22 lines
492 B
TypeScript
// Type definitions for infobox-parser 3.3
|
|
// Project: https://github.com/dijs/infobox-parser#readme
|
|
// Definitions by: Jeff Held <https://github.com/solkaz>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface ParseOptions {
|
|
simplifyDataValues?: boolean;
|
|
}
|
|
|
|
interface ParseResult {
|
|
general: any;
|
|
lists: any[];
|
|
tables: any[];
|
|
}
|
|
|
|
declare function infobox_parser(
|
|
source: string,
|
|
options?: ParseOptions
|
|
): ParseResult;
|
|
|
|
export = infobox_parser;
|