Skip to content

Commit c8a9f96

Browse files
authored
fix(framework): fromAttribute converter can also return an object (#12487)
1 parent 4aed816 commit c8a9f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/base/src/UI5ElementMetadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type Property = {
2222
type?: BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor,
2323
noAttribute?: boolean,
2424
converter?: {
25-
fromAttribute(value: string | null, type: unknown): string | number | boolean | null | undefined,
25+
fromAttribute(value: string | null, type: unknown): PropertyValue,
2626
toAttribute(value: unknown, type: unknown): string | null,
2727
}
2828
}

0 commit comments

Comments
 (0)