From 3d44a9c5d8d36d6bba5648ff2bdee6afa0e44297 Mon Sep 17 00:00:00 2001 From: Juanra GM Date: Fri, 8 Sep 2023 18:22:17 +0200 Subject: [PATCH] refactor: change internal type --- .changeset/thin-boats-wink.md | 6 ++++++ packages/material/src/Select/Select.tsx | 2 +- packages/types/src/overridable.ts | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changeset/thin-boats-wink.md diff --git a/.changeset/thin-boats-wink.md b/.changeset/thin-boats-wink.md new file mode 100644 index 000000000..00f901722 --- /dev/null +++ b/.changeset/thin-boats-wink.md @@ -0,0 +1,6 @@ +--- +"@suid/material": patch +"@suid/types": patch +--- + +Change internal type diff --git a/packages/material/src/Select/Select.tsx b/packages/material/src/Select/Select.tsx index 1f99cf055..aea6e0881 100644 --- a/packages/material/src/Select/Select.tsx +++ b/packages/material/src/Select/Select.tsx @@ -216,7 +216,7 @@ const Select = $.defineComponent(function Select(inProps) { ( props: DefaultComponentProps> ): JSX.Element; - _suid: true; + __suid: string; }; export default Select; diff --git a/packages/types/src/overridable.ts b/packages/types/src/overridable.ts index aef7e5cc0..dc61d900b 100644 --- a/packages/types/src/overridable.ts +++ b/packages/types/src/overridable.ts @@ -58,7 +58,7 @@ export interface OverridableComponent { } & OverrideProps ): JSX.Element; (props: DefaultComponentProps): JSX.Element; - _suid: true; + __suid: string; } /**