Skip to content

Commit 038ca2d

Browse files
committed
fix: colliding readonly property as any
1 parent 4865f86 commit 038ca2d

File tree

1 file changed

+5
-1
lines changed
  • packages/components-vue/src/types

1 file changed

+5
-1
lines changed

packages/components-vue/src/types/props.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ export interface iValueComplexProps extends iUseThemeProps {
200200
* The value prop will be a property of this node
201201
*/
202202
node?: Record<string, any>;
203-
readonly?: boolean;
203+
/**
204+
* This type seems to collide with nuxt/vue types
205+
* Setting it to any for compatibility
206+
*/
207+
readonly?: any;
204208
classes?: tProps<string>;
205209
/**
206210
* Refresh the content

0 commit comments

Comments
 (0)