fixing errors from linting

This commit is contained in:
Mehdi Benadel 2024-05-23 22:55:58 +02:00
parent fb7f44692c
commit 0f99d66ac4
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ export class ChannelConfigurationElement extends LivechatElement {
args: () => [this.registerClientOptions]
})
private readonly _saveConfig = (ev?: Event): undefined => {
private readonly _saveConfig = (ev?: Event): void => {
ev?.preventDefault()
if (this._channelDetailsService && this._channelConfiguration) {
this._channelDetailsService.saveOptions(this._channelConfiguration.channel.id,

View File

@ -444,7 +444,7 @@ export class DynamicTableFormElement extends LivechatElement {
_updatePropertyFromValue = (event: Event,
propertyName: string,
propertySchema: CellDataSchema,
rowId: number): undefined => {
rowId: number): void => {
const target = event.target as (HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement)
const value = (target)
? (target instanceof HTMLInputElement && target.type === 'checkbox')