UNPKG

@vitruvius-labs/ts-predicate

Version:
7 lines (6 loc) 528 B
import type { Test } from "../definition/type/test.mjs"; import type { StructuredDataDescriptor } from "../definition/interface/structured-data-descriptor.mjs"; import type { StructuredDataPropertyDescriptor } from "../definition/type/structured-data-property-descriptor.mjs"; /** @internal */ declare function getStructuredDataPropertyDescriptor<Type>(descriptor: StructuredDataDescriptor<Type> | Test<NonNullable<Type>>, key: string): StructuredDataPropertyDescriptor<unknown>; export { getStructuredDataPropertyDescriptor };