lint update

This commit is contained in:
Mehdi Benadel
2024-05-25 14:39:45 +02:00
parent 67abb5279f
commit 2c81d9a052
5 changed files with 16 additions and 7 deletions

View File

@ -114,7 +114,7 @@ class ProsodyConfigVirtualHost extends ProsodyConfigBlock {
this.name = name
}
write (): string {
override write (): string {
return `VirtualHost "${this.name}"\n` + super.write()
}
}
@ -129,7 +129,7 @@ class ProsodyConfigComponent extends ProsodyConfigBlock {
this.name = name
}
write (): string {
override write (): string {
if (this.type !== undefined) {
return `Component "${this.name}" "${this.type}"\n` + super.write()
}