Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ToInterface<T, IfU>

A mixin for Template that provides the toInterface and unsafeFromInterface contract ID conversion functions.

Even templates that directly implement no interfaces implement this, because this also permits conversion with interfaces that supply retroactive implementations to this template.

Type parameters

  • T: object

    The template type.

  • IfU

    The union of implemented interfaces, or never for templates that directly implement no interface.

Hierarchy

  • ToInterface

Index

Methods

Generated using TypeDoc