Library API
    Preparing search index...

    Function Serializable

    • A class decorator that registers a class for serialization with the runtime type system.

      Type Parameters

      Parameters

      • value: T

        The class constructor to register

      • context: ClassDecoratorContext<T>

        The decorator context

      Returns void | T

      The original class constructor

      @Serializable
      class DataModel { ... }