Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed Nov 21, 2024
1 parent 08aec11 commit da79a52
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 856 deletions.
72 changes: 0 additions & 72 deletions pkg/csp_nonce_html_transformer.d.ts
Original file line number Diff line number Diff line change
@@ -1,40 +1,5 @@
/* tslint:disable */
/* eslint-disable */
export class Comment {
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;
readonly removed: boolean;
text: string;
}
export class Doctype {
free(): void;
readonly name: any;
readonly publicId: any;
readonly systemId: any;
}
export class DocumentEnd {
free(): void;
/**
* @param {string} content
* @param {any | undefined} [content_type]
*/
append(content: string, content_type?: any): void;
}
export class Element {
free(): void;
/**
Expand Down Expand Up @@ -93,21 +58,6 @@ export class Element {
readonly removed: boolean;
tagName: string;
}
export class EndTag {
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;
remove(): void;
name: string;
}
export class HTMLRewriter {
free(): void;
/**
Expand All @@ -126,25 +76,3 @@ export class HTMLRewriter {
write(chunk: Uint8Array): void;
end(): void;
}
export class TextChunk {
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;
readonly lastInTextNode: boolean;
readonly removed: boolean;
readonly text: string;
}
Loading

0 comments on commit da79a52

Please sign in to comment.