Skip to content

Commit cf80ad4

Browse files
committed
Make knip happy
1 parent 1c4f437 commit cf80ad4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/restricted-guests/element-web/src/RegisterDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Form } from "@vector-im/compound-web";
1111

1212
import { ModuleConfig } from "./config.ts";
1313

14-
export interface RegisterDialogProps extends DialogProps<AccountAuthInfo> {
14+
interface RegisterDialogProps extends DialogProps<AccountAuthInfo> {
1515
api: Api;
1616
config: ModuleConfig;
1717
}

modules/restricted-guests/element-web/src/RoomPreviewBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { useWatchable } from "@element-hq/element-web-module-api";
1414
import { ModuleConfig } from "./config.ts";
1515
import RegisterDialog from "./RegisterDialog.tsx";
1616

17-
export interface RoomPreviewBarProps {
17+
interface RoomPreviewBarProps {
1818
api: Api;
1919
config: ModuleConfig;
2020
children: JSX.Element;

modules/restricted-guests/element-web/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const ModuleConfig = z.object({
3434

3535
export type ModuleConfig = z.infer<typeof ModuleConfig>;
3636

37-
export type ConfigSchema = ZodSchema<z.output<typeof ModuleConfig>, ZodTypeDef, z.input<typeof ModuleConfig>>;
37+
type ConfigSchema = ZodSchema<z.output<typeof ModuleConfig>, ZodTypeDef, z.input<typeof ModuleConfig>>;
3838

3939
export const CONFIG_KEY = "io.element.element-web-modules.restricted-guests";
4040

0 commit comments

Comments
 (0)