UNPKG

resium

Version:

React component library for Cesium

21 lines (15 loc) 569 B
import { BillboardGraphics } from "cesium"; import { expectType, TypeEqual } from "ts-expect"; import { it } from "vitest"; import { UnusedCesiumProps, Merge } from "../core"; import { BillboardGraphicsProps, cesiumEventProps } from "./BillboardGraphics"; // Unused prop check type UnusedProps = UnusedCesiumProps< Merge<BillboardGraphics, BillboardGraphics.ConstructorOptions>, BillboardGraphicsProps, typeof cesiumEventProps, IgnoredProps >; type IgnoredProps = never; expectType<TypeEqual<never, UnusedProps>>(true); it("should be compiled", () => {});