refactor: class-methods-use-this

This commit is contained in:
Tibo De Peuter 2025-03-23 13:39:10 +01:00
parent a42add7131
commit af57cb5d71
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
12 changed files with 48 additions and 45 deletions

View file

@ -14,7 +14,7 @@ class AudioProcessor extends StringProcessor {
super(DwengoContentType.AUDIO_MPEG);
}
protected renderFn(audioUrl: string): string {
override renderFn(audioUrl: string): string {
return DOMPurify.sanitize(`<audio controls>
<source src="${audioUrl}" type=${type}>
Your browser does not support the audio element.