UNPKG

resium

Version:

React component library for Cesium

20 lines (14 loc) 491 B
import { expectType, TypeEqual } from "ts-expect"; import { it } from "vitest"; import { UnusedCesiumProps } from "../core"; import { GroundPrimitiveOtherProps, GroundPrimitiveProps, Target } from "./GroundPrimitive"; // Unused prop check type UnusedProps = UnusedCesiumProps< Target, Omit<GroundPrimitiveProps, keyof GroundPrimitiveOtherProps>, {}, IgnoredProps >; type IgnoredProps = never; expectType<TypeEqual<never, UnusedProps>>(true); it("should be compiled", () => {});