import { BaseComponent } from './base-component'; interface ICheckboxCustomProperties { defaultValue?: boolean; } export class CheckboxComponent extends BaseComponent { protected override getComponentCustomProperties() { const results: ICheckboxCustomProperties = {}; const { flags } = this.properties; if ((flags as any).default !== undefined) { results.defaultValue = (flags as any).default; } return results; } }