resium
Version:
React component library for Cesium
21 lines (15 loc) • 542 B
text/typescript
import { ImageryLayerCollection } from "cesium";
import { expectType, TypeEqual } from "ts-expect";
import { it } from "vitest";
import { UnusedCesiumProps } from "../core";
import { cesiumEventProps, ImageryLayerCollectionProps } from "./ImageryLayerCollection";
// Unused prop check
type UnusedProps = UnusedCesiumProps<
ImageryLayerCollection,
ImageryLayerCollectionProps,
typeof cesiumEventProps,
IgnoredProps
>;
type IgnoredProps = never;
expectType<TypeEqual<never, UnusedProps>>(true);
it("should be compiled", () => {});