resium
Version:
React component library for Cesium
15 lines (9 loc) • 418 B
text/typescript
import { expectType, TypeEqual } from "ts-expect";
import { it } from "vitest";
import { UnusedCesiumProps } from "../core";
import { ImageryLayerProps, Target } from "./ImageryLayer";
// Unused prop check
type UnusedProps = UnusedCesiumProps<Target, ImageryLayerProps, {}, IgnoredProps>;
type IgnoredProps = "imageryProvider";
expectType<TypeEqual<never, UnusedProps>>(true);
it("should be compiled", () => {});