Skip to content

Commit 7dae076

Browse files
⚡ A method cannot be named with a private identifier.
1 parent f5aa4d9 commit 7dae076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class/HTMLCodeBlockElement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default class HTMLCodeBlockElement extends HTMLElement {
5252
#controls: boolean = false;
5353

5454
/** Outputs the resulting syntax-highlighted markup to the DOM. */
55-
#render() {
55+
#render = function (this: HTMLCodeBlockElement) {
5656
if (!this.parentNode) {
5757
return;
5858
}

0 commit comments

Comments
 (0)