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