Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MethodTypings

A class to handle all the tasks relating to types for the OpenRPC Document.

Hierarchy

  • MethodTypings

Index

Constructors

constructor

Methods

getMethodTypings

  • A method that returns all the method signature type aliases, called Method Typings, for the [[@open-rpc/meta-schema#MethodObject]] in an [[@open-rpc/meta-schema#MethodObject]] Document.

    Parameters

    Returns string

    A string containing all the typings.

getSchemaTypings

  • A method that returns all the typings for the schemas in an [[OpenRPC]] Document.

    Parameters

    Returns string

    A string containing all the typings.

getTypingNames

toString

  • A configurable way to output the typings into a string.

    Parameters

    Returns string

    a multi-line string containing the types in the language specified.