UNPKG

lean4-code-actions

Version:

Refactorings and snippets for Lean 4

6 lines (3 loc) 217 B
import { RefinementCtx } from 'zod' export type RefinementVoid<In> = (input: In, ctx: RefinementCtx) => void export type RefinementTypeAssertion<In, Out extends In> = (input: In, ctx: RefinementCtx) => input is Out