fix: Fix type and remove warnings from typedoc (#3333)

This commit is contained in:
Dolan
2026-02-12 04:41:21 +00:00
committed by GitHub
parent 6c795aa341
commit 8ab6291f59
3 changed files with 62 additions and 5 deletions
@@ -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
View File
@@ -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"
]
}
}