From e026286ac22b8e002bc9382c83472198c5b774d3 Mon Sep 17 00:00:00 2001 From: Kurbanali Ruslan Date: Tue, 24 Dec 2024 16:35:05 +0500 Subject: [PATCH] changed formatting of jsdoc --- docs/general/extensions.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/general/extensions.md b/docs/general/extensions.md index 8dfa4c5d131..c08858dee0b 100644 --- a/docs/general/extensions.md +++ b/docs/general/extensions.md @@ -252,10 +252,10 @@ type TrustedValue = string | TrustedHTML | TrustedScript | TrustedScriptURL; * - `TrustedScriptURL` * - or returns `value` if none of them is applicable. * - * @param type Trusted Type. - * @param value Value from which a Trusted Type is created. - * @param createArgs Additional arguments to be passed to the function represented by `TrustedTypePolicy`. - * @returns Created value. + * @param type Trusted Type. + * @param value Value from which a Trusted Type is created. + * @param createArgs Additional arguments to be passed to the function represented by `TrustedTypePolicy`. + * @returns Created value. */ function create( type: TrustedType, @@ -274,13 +274,13 @@ const trustedHTML = ADG_policyApi.create(ADG_TrustedType.HTML, '
'); * - `TrustedScriptURL` * - or returns `value` if none of them is applicable. * - * @param tagName Name of an HTML tag. - * @param attribute Attribute. - * @param value Value of an attribute to be converted. - * @param elementNS Element namespace. If empty, defaults to the HTML namespace. - * @param attrNS Attribute namespace. If empty, defaults to null. - * @param createArgs Additional arguments to be passed to the function represented by `TrustedTypePolicy`. - * @returns Converted value. + * @param tagName Name of an HTML tag. + * @param attribute Attribute. + * @param value Value of an attribute to be converted. + * @param elementNS Element namespace. If empty, defaults to the HTML namespace. + * @param attrNS Attribute namespace. If empty, defaults to null. + * @param createArgs Additional arguments to be passed to the function represented by `TrustedTypePolicy`. + * @returns Converted value. */ function convertAttributeToTrusted( tagName: string, @@ -302,12 +302,12 @@ scriptElement.setAttribute("src", trustedScriptURL); * - `TrustedScriptURL` * - or returns `value` if none of them is applicable. * - * @param tagName Name of an HTML tag. - * @param property Property. - * @param value Value of a property to be converted. - * @param elementNS Element namespace. If empty, defaults to the HTML namespace. - * @param createArgs Additional arguments to be passed to the function represented by `TrustedTypePolicy`. - * @returns Converted value. + * @param tagName Name of an HTML tag. + * @param property Property. + * @param value Value of a property to be converted. + * @param elementNS Element namespace. If empty, defaults to the HTML namespace. + * @param createArgs Additional arguments to be passed to the function represented by `TrustedTypePolicy`. + * @returns Converted value. */ function convertPropertyToTrusted( tagName: string,