resium
Version:
React components for Cesium
14 lines (9 loc) • 404 B
text/typescript
import { expectType, TypeEqual } from "ts-expect";
import { Polyline } from "cesium";
import { UnusedCesiumProps } from "../core";
import { PolylineProps } from "./Polyline";
// Unused prop check
type UnusedProps = UnusedCesiumProps<Polyline, keyof PolylineProps>;
type IgnoredProps = never;
expectType<TypeEqual<never, Exclude<UnusedProps, IgnoredProps>>>(true);
it("should be compiled", () => {});