Function serializable

  • Decorator to mark a class as serializable using the Serialization class.


    • Requires "experimentalDecorators": true in tsconfig.json


    • id: string

      The id to use when serializing the class. This is used to identify the class when deserializing. Class names can be mangled during minification, so it is required to provide an id.

    Returns (<T>(constructor) => T)

      • <T>(constructor): T
      • Type Parameters

        • T extends (new (...args) => any)


        • constructor: T

        Returns T

Generated using TypeDoc