Commit f404b8b
fix: resolve TS2742 errors in drawer.tsx and sidebar.tsx for portable declaration files
Replace non-portable type references (typeof DrawerPrimitive.X via @radix-ui/react-dialog
and typeof Separator via @radix-ui/react-separator) with concrete HTML element types in
forwardRef generics. This ensures drawer.d.ts and sidebar.d.ts are properly generated,
fixing all downstream import errors in plugin-view, apps/console, and apps/site.
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 15cd242 commit f404b8b
2 files changed
+18
-15
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments