resium
Version:
React component library for Cesium
16 lines (10 loc) • 447 B
text/typescript
import { Clock } from "cesium";
import { expectType, TypeEqual } from "ts-expect";
import { it } from "vitest";
import { UnusedCesiumProps } from "../core";
import { cesiumEventProps, ClockProps } from "./Clock";
// Unused prop check
type UnusedProps = UnusedCesiumProps<Clock, ClockProps, typeof cesiumEventProps, IgnoredProps>;
type IgnoredProps = never;
expectType<TypeEqual<never, UnusedProps>>(true);
it("should be compiled", () => {});