Skip to content

Commit e75080a

Browse files
committed
fix: remove types from jsdoc
1 parent fd7af7e commit e75080a

File tree

7 files changed

+13
-16
lines changed

7 files changed

+13
-16
lines changed

dist/purify.cjs.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@ interface DOMPurify {
226226
/**
227227
* Set the configuration once.
228228
*
229-
* @param {Config} cfg configuration object
230-
* @returns {void}
229+
* @param cfg configuration object
231230
*/
232231
setConfig(cfg?: Config): void;
233232
/**

dist/purify.cjs.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.es.d.mts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@ interface DOMPurify {
226226
/**
227227
* Set the configuration once.
228228
*
229-
* @param {Config} cfg configuration object
230-
* @returns {void}
229+
* @param cfg configuration object
231230
*/
232231
setConfig(cfg?: Config): void;
233232
/**

dist/purify.es.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ const getGlobal = function getGlobal() {
244244
/**
245245
* Creates a no-op policy for internal use only.
246246
* Don't export this function outside this module!
247-
* @param trustedTypes - The policy factory.
248-
* @param purifyHostElement - The Script element used to load DOMPurify (to determine policy name suffix).
247+
* @param trustedTypes The policy factory.
248+
* @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).
249249
* @return The policy created (or null, if Trusted Types
250250
* are not supported or creating the policy failed).
251251
*/

dist/purify.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/purify.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ const getGlobal = function (): WindowLike {
5252
/**
5353
* Creates a no-op policy for internal use only.
5454
* Don't export this function outside this module!
55-
* @param trustedTypes - The policy factory.
56-
* @param purifyHostElement - The Script element used to load DOMPurify (to determine policy name suffix).
55+
* @param trustedTypes The policy factory.
56+
* @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).
5757
* @return The policy created (or null, if Trusted Types
5858
* are not supported or creating the policy failed).
5959
*/
@@ -1703,8 +1703,7 @@ interface DOMPurify {
17031703
/**
17041704
* Set the configuration once.
17051705
*
1706-
* @param {Config} cfg configuration object
1707-
* @returns {void}
1706+
* @param cfg configuration object
17081707
*/
17091708
setConfig(cfg?: Config): void;
17101709

0 commit comments

Comments
 (0)