mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
fix: Fix type and remove warnings from typedoc (#3333)
This commit is contained in:
@@ -96,7 +96,7 @@ export type ILineNumberAttributes = {
|
||||
/**
|
||||
* Specifies the distance between the text margin and the edge of any line numbers appearing in that section.
|
||||
*
|
||||
* ```.xml
|
||||
* ```xml
|
||||
* <w:lnNumType ... w:distance="720"/>
|
||||
* ```
|
||||
*
|
||||
|
||||
@@ -52,11 +52,11 @@ export class ImportedXmlComponent extends XmlComponent {
|
||||
return convertToXmlComponent(xmlObj) as ImportedXmlComponent;
|
||||
}
|
||||
/**
|
||||
* Converts the xml string to a XmlComponent tree.
|
||||
* Creates an ImportedXmlComponent.
|
||||
*
|
||||
* @param importedContent xml content of the imported component
|
||||
* @param rootKey the root element name
|
||||
* @param _attr optional attributes for the root element
|
||||
*/
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
public constructor(rootKey: string, _attr?: any) {
|
||||
super(rootKey);
|
||||
|
||||
+58
-1
@@ -9,6 +9,63 @@
|
||||
"theme": "default",
|
||||
"excludePrivate": true,
|
||||
"excludeProtected": true,
|
||||
"excludeExternals": false
|
||||
"excludeExternals": false,
|
||||
"highlightLanguages": ["typescript", "javascript", "json", "xml"],
|
||||
"intentionallyNotExported": [
|
||||
"IViewWrapper",
|
||||
"IBaseFrameOptions",
|
||||
"IStyleOptions",
|
||||
"RegularImageOptions",
|
||||
"SvgMediaOptions",
|
||||
"CoreImageOptions",
|
||||
"RegularMediaData",
|
||||
"SvgMediaData",
|
||||
"CoreMediaData",
|
||||
"ParagraphPatch",
|
||||
"FilePatch",
|
||||
"IChangedAttributesProperties",
|
||||
"ITableCellPropertiesOptions",
|
||||
"IOverrideLevel",
|
||||
"DocPropertiesOptions",
|
||||
"OutlineOptions",
|
||||
"ICompatibilityOptions",
|
||||
"ICustomPropertyOptions",
|
||||
"FontOptions",
|
||||
"IHyphenationOptions",
|
||||
"IFontOptions",
|
||||
"ILanguageOptions",
|
||||
"IDefaultStylesOptions",
|
||||
"ITableCellSpacingProperties",
|
||||
"ITableCellMarginOptions",
|
||||
"Relationships",
|
||||
"AppProperties",
|
||||
"ContentTypes",
|
||||
"CoreProperties",
|
||||
"CustomProperties",
|
||||
"DocumentWrapper",
|
||||
"FontWrapper",
|
||||
"FootnotesWrapper",
|
||||
"Settings",
|
||||
"Footer",
|
||||
"Header",
|
||||
"FieldInstruction",
|
||||
"MathAccentCharacterOptions",
|
||||
"MathBaseOptions",
|
||||
"MathLimitLocationOptions",
|
||||
"MathNAryPropertiesOptions",
|
||||
"MathSubScriptElementOptions",
|
||||
"MathSuperScriptElementOptions",
|
||||
"PatchDetectorOptions",
|
||||
"IDeletedRunOptions",
|
||||
"IInsertedRunOptions",
|
||||
"MathAngledBracketsOptions",
|
||||
"IXmlifyedFile",
|
||||
"ITextboxOptions",
|
||||
"Begin",
|
||||
"Separate",
|
||||
"End",
|
||||
"Break",
|
||||
"IColumnAttributes"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user