diff --git a/shared/common/hooks/useTheme/index.tsx b/shared/common/hooks/useTheme/index.tsx
index 2ec1fdef..86b07be1 100644
--- a/shared/common/hooks/useTheme/index.tsx
+++ b/shared/common/hooks/useTheme/index.tsx
@@ -22,7 +22,10 @@ export function ThemeProvider({
children,
localStorageKey,
forceTheme,
-}: PropsWithChildren<{localStorageKey?: string; forceTheme?: Theme}>) {
+}: PropsWithChildren<{
+ localStorageKey?: string;
+ forceTheme?: Theme.light | Theme.dark;
+}>) {
if (typeof window === "undefined") {
return (
{
localStorage.setItem(localStorageKey ?? "appTheme", theme);
setTheme(theme);
diff --git a/shared/common/newui/select/index.tsx b/shared/common/newui/select/index.tsx
index c8048168..e48ce906 100644
--- a/shared/common/newui/select/index.tsx
+++ b/shared/common/newui/select/index.tsx
@@ -1,13 +1,14 @@
import cn from "@edgedb/common/utils/classNames";
-import {Select as _Select, SelectProps} from "@edgedb/common/ui/select";
+import {
+ Select as _Select,
+ SelectProps as _SelectProps,
+} from "@edgedb/common/ui/select";
import styles from "./select.module.scss";
-export function Select({
- className,
- label,
- ...props
-}: SelectProps & {label?: string}) {
+export type SelectProps = _SelectProps & {label?: string};
+
+export function Select({className, label, ...props}: SelectProps) {
if (label != null) {
return (