diff --git a/src/file/document/body/section-properties/properties/line-number.ts b/src/file/document/body/section-properties/properties/line-number.ts index bc25285497..daed830a8a 100644 --- a/src/file/document/body/section-properties/properties/line-number.ts +++ b/src/file/document/body/section-properties/properties/line-number.ts @@ -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 * * ``` * diff --git a/src/file/xml-components/imported-xml-component.ts b/src/file/xml-components/imported-xml-component.ts index 1db2e4dd91..712aeaa526 100644 --- a/src/file/xml-components/imported-xml-component.ts +++ b/src/file/xml-components/imported-xml-component.ts @@ -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); diff --git a/tsconfig.typedoc.json b/tsconfig.typedoc.json index 53c9f0195f..9757199f37 100644 --- a/tsconfig.typedoc.json +++ b/tsconfig.typedoc.json @@ -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" + ] } }