mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
libxmljs: Type all options
This commit is contained in:
Vendored
+34
-1
@@ -15,7 +15,40 @@ export const libxml_parser_version: string;
|
||||
interface StringMap { [key: string]: string; }
|
||||
|
||||
// tslint:disable-next-line:strict-export-declare-modifiers
|
||||
interface ParserOptions { [key: string]: boolean | string; }
|
||||
interface ParserOptions {
|
||||
recover?: boolean;
|
||||
noent?: boolean;
|
||||
dtdload?: boolean;
|
||||
doctype?: boolean;
|
||||
dtdattr?: any;
|
||||
dtdvalid?: boolean;
|
||||
noerror?: boolean;
|
||||
errors?: boolean;
|
||||
nowarning?: boolean;
|
||||
warnings?: boolean;
|
||||
pedantic?: boolean;
|
||||
noblanks?: boolean;
|
||||
blanks?: boolean;
|
||||
sax1?: boolean;
|
||||
xinclude?: boolean;
|
||||
nonet?: boolean;
|
||||
net?: boolean;
|
||||
nodict?: boolean;
|
||||
dict?: boolean;
|
||||
nsclean?: boolean;
|
||||
implied?: boolean;
|
||||
nocdata?: boolean;
|
||||
cdata?: boolean;
|
||||
noxincnode?: boolean;
|
||||
compact?: boolean;
|
||||
old?: boolean;
|
||||
nobasefix?: boolean;
|
||||
basefix?: boolean;
|
||||
huge?: boolean;
|
||||
oldsax?: boolean;
|
||||
ignore_enc?: boolean;
|
||||
big_lines?: boolean;
|
||||
}
|
||||
|
||||
export function parseXml(source: string, options?: ParserOptions): Document;
|
||||
export function parseXmlString(source: string, options?: ParserOptions): Document;
|
||||
|
||||
Reference in New Issue
Block a user