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