Skip to content

Commit 81641b3

Browse files
authored
Merge pull request #4886 from nextcloud-libraries/chore/lint
chore(lint): use valid JSDoc for literal type union
2 parents dae6dd9 + 3ac2dd5 commit 81641b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/NcDialog/NcDialog.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default defineComponent({
182182
/**
183183
* Size of the underlying NcModal
184184
* @default 'small'
185-
* @values 'small', 'normal', 'large', 'full'
185+
* @type {'small'|'normal'|'large'|'full'}
186186
*/
187187
size: {
188188
type: String,

src/components/NcDialogButton/NcDialogButton.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default defineComponent({
7878

7979
/**
8080
* The button type, see NcButton
81-
* @values 'primary', 'secondary', 'error', 'warning', 'success'
81+
* @type {'primary'|'secondary'|'error'|'warning'|'success'}
8282
*/
8383
type: {
8484
type: String,

0 commit comments

Comments
 (0)