import { is } from '../../../lib/type' import { FunTypes } from '../../types/FunTypes' export function $jsonSchema(): FunTypes.JsonSchema { return (null as unknown) as FunTypes.JsonSchema } export const assertJsonSchema = >( runtype: T, ) => { if (is.null_(runtype)) { throw new Error( 'jsonSchema call expression not transformed and directly called', ) } }