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