Skip to content

Commit 1187b65

Browse files
committed
2 again
1 parent bb9b30c commit 1187b65

File tree

6 files changed

+8
-579
lines changed

6 files changed

+8
-579
lines changed

pkg/csp_nonce_html_transformer.d.ts

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -2,61 +2,11 @@
22
/* eslint-disable */
33
export class Element {
44
free(): void;
5-
/**
6-
* @param {string} content
7-
* @param {any | undefined} [content_type]
8-
*/
9-
before(content: string, content_type?: any): void;
10-
/**
11-
* @param {string} content
12-
* @param {any | undefined} [content_type]
13-
*/
14-
after(content: string, content_type?: any): void;
15-
/**
16-
* @param {string} content
17-
* @param {any | undefined} [content_type]
18-
*/
19-
replace(content: string, content_type?: any): void;
20-
remove(): void;
21-
/**
22-
* @param {string} name
23-
* @returns {any}
24-
*/
25-
getAttribute(name: string): any;
26-
/**
27-
* @param {string} name
28-
* @returns {boolean}
29-
*/
30-
hasAttribute(name: string): boolean;
315
/**
326
* @param {string} name
337
* @param {string} value
348
*/
359
setAttribute(name: string, value: string): void;
36-
/**
37-
* @param {string} name
38-
*/
39-
removeAttribute(name: string): void;
40-
/**
41-
* @param {string} content
42-
* @param {any | undefined} [content_type]
43-
*/
44-
prepend(content: string, content_type?: any): void;
45-
/**
46-
* @param {string} content
47-
* @param {any | undefined} [content_type]
48-
*/
49-
append(content: string, content_type?: any): void;
50-
/**
51-
* @param {string} content
52-
* @param {any | undefined} [content_type]
53-
*/
54-
setInnerContent(content: string, content_type?: any): void;
55-
removeAndKeepContent(): void;
56-
readonly attributes: any;
57-
readonly namespaceURI: any;
58-
readonly removed: boolean;
59-
tagName: string;
6010
}
6111
export class HTMLRewriter {
6212
free(): void;

0 commit comments

Comments
 (0)