UNPKG

resium

Version:

React component library for Cesium

25 lines (19 loc) 563 B
import { expectType, TypeEqual } from "ts-expect"; import { it } from "vitest"; import { UnusedCesiumProps } from "../core"; import { Target, CzmlDataSourceProps, cesiumEventProps, CzmlDataSourceOtherProps, } from "./CzmlDataSource"; // Unused prop check type UnusedProps = UnusedCesiumProps< Target, Omit<CzmlDataSourceProps, keyof CzmlDataSourceOtherProps>, typeof cesiumEventProps, IgnoredProps >; type IgnoredProps = "clock" | "entities" | "isLoading"; expectType<TypeEqual<never, UnusedProps>>(true); it("should be compiled", () => {});