Skip to content

Commit

Permalink
2 again
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed Nov 21, 2024
1 parent bb9b30c commit 1187b65
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 579 deletions.
50 changes: 0 additions & 50 deletions pkg/csp_nonce_html_transformer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,11 @@
/* eslint-disable */
export class Element {
free(): void;
/**
* @param {string} content
* @param {any | undefined} [content_type]
*/
before(content: string, content_type?: any): void;
/**
* @param {string} content
* @param {any | undefined} [content_type]
*/
after(content: string, content_type?: any): void;
/**
* @param {string} content
* @param {any | undefined} [content_type]
*/
replace(content: string, content_type?: any): void;
remove(): void;
/**
* @param {string} name
* @returns {any}
*/
getAttribute(name: string): any;
/**
* @param {string} name
* @returns {boolean}
*/
hasAttribute(name: string): boolean;
/**
* @param {string} name
* @param {string} value
*/
setAttribute(name: string, value: string): void;
/**
* @param {string} name
*/
removeAttribute(name: string): void;
/**
* @param {string} content
* @param {any | undefined} [content_type]
*/
prepend(content: string, content_type?: any): void;
/**
* @param {string} content
* @param {any | undefined} [content_type]
*/
append(content: string, content_type?: any): void;
/**
* @param {string} content
* @param {any | undefined} [content_type]
*/
setInnerContent(content: string, content_type?: any): void;
removeAndKeepContent(): void;
readonly attributes: any;
readonly namespaceURI: any;
readonly removed: boolean;
tagName: string;
}
export class HTMLRewriter {
free(): void;
Expand Down
Loading

0 comments on commit 1187b65

Please sign in to comment.