Infer a methods record from an InterfaceGuard.
InterfaceGuard
const FooI = M.interface('Foo', { bar: M.call(M.string()).returns(M.nat()),});type FooMethods = TypeFromInterfaceGuard<typeof FooI>;// { bar: (arg0: string) => bigint } Copy
const FooI = M.interface('Foo', { bar: M.call(M.string()).returns(M.nat()),});type FooMethods = TypeFromInterfaceGuard<typeof FooI>;// { bar: (arg0: string) => bigint }
Infer a methods record from an
InterfaceGuard.