UNPKG

resium

Version:

React component library for Cesium

24 lines (18 loc) 597 B
import { PrimitiveCollection } from "cesium"; import { expectType, TypeEqual } from "ts-expect"; import { it } from "vitest"; import { UnusedCesiumProps } from "../core"; import { GroundPrimitiveCollectionProps, GroundPrimitiveCollectionOtherProps, } from "./GroundPrimitiveCollection"; // Unused prop check type UnusedProps = UnusedCesiumProps< PrimitiveCollection, Omit<GroundPrimitiveCollectionProps, keyof GroundPrimitiveCollectionOtherProps>, {}, IgnoredProps >; type IgnoredProps = never; expectType<TypeEqual<never, UnusedProps>>(true); it("should be compiled", () => {});