UNPKG

resium

Version:

React components for Cesium

14 lines (9 loc) 394 B
import { expectType, TypeEqual } from "ts-expect"; import { SkyBox } from "cesium"; import { UnusedCesiumProps } from "../core"; import { SkyBoxProps } from "./SkyBox"; // Unused prop check type UnusedProps = UnusedCesiumProps<SkyBox, keyof SkyBoxProps>; type IgnoredProps = never; expectType<TypeEqual<never, Exclude<UnusedProps, IgnoredProps>>>(true); it("should be compiled", () => {});