remove optional

This commit is contained in:
Mads Rasmussen
2024-08-16 12:20:44 +02:00
parent 994ba2f28e
commit b84c9b1ef1

View File

@@ -8,7 +8,7 @@ import type { UmbSearchResultItemModel } from '@umbraco-cms/backoffice/search';
const elementName = 'umb-default-picker-search-result-item';
@customElement(elementName)
export class UmbDefaultPickerSearchResultItemElement extends UmbLitElement {
#item?: UmbSearchResultItemModel | undefined;
#item: UmbSearchResultItemModel | undefined;
@property({ type: Object })
public get item(): UmbSearchResultItemModel | undefined {
return this.#item;