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