Skip to content

Commit 024d498

Browse files
authored
refactor: do not use String shorthand syntax for properties (#11292)
1 parent 1f45c9a commit 024d498

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

packages/crud/src/vaadin-crud-edit-column.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,12 @@ class CrudEditColumn extends GridColumn {
5656
value: 0,
5757
},
5858

59-
/** The arial-label for the edit button */
60-
ariaLabel: String,
59+
/**
60+
* The arial-label for the edit button
61+
*/
62+
ariaLabel: {
63+
type: String,
64+
},
6165
};
6266
}
6367

packages/grid/src/vaadin-grid-sorter-mixin.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export const GridSorterMixin = (superClass) =>
1616
/**
1717
* JS Path of the property in the item used for sorting the data.
1818
*/
19-
path: String,
19+
path: {
20+
type: String,
21+
},
2022

2123
/**
2224
* How to sort the data.

0 commit comments

Comments
 (0)