import type { TypeEqual } from "ts-expect"; import { expectType } from "ts-expect"; import { it } from "vitest"; import type { UnusedCesiumProps } from "../core"; import type { ModelOtherProps, ModelProps, Target } from "./Model"; // Unused prop check type UnusedProps = UnusedCesiumProps< Target, Omit, {}, IgnoredProps >; // gltf is actually used, pointCloudShading is readonly in practice, events are readonly type IgnoredProps = | "id" | "activeAnimations" | "gltf" | "url" | "pointCloudShading" | "errorEvent" | "readyEvent" | "texturesReadyEvent"; expectType>(true); it("should be compiled", () => {});