fix type err

This commit is contained in:
Nate 2025-04-11 08:57:11 -07:00
parent 92ece90f0d
commit 9c3d9e678b

View file

@ -4,7 +4,10 @@ import { useContext } from "react";
import { useAuth } from "../../../context/Auth";
import { IdeMessengerContext } from "../../../context/IdeMessenger";
type SectionKey = Exclude<keyof ConfigYaml, "name" | "version" | "schema">;
type SectionKey = Exclude<
keyof ConfigYaml,
"name" | "version" | "schema" | "metadata"
>;
interface EditBlockButtonProps<T extends SectionKey> {
blockType: T;