map.apps Bundle APIs 4.20.0
    Preparing search index...
    • Helper to create setter properties.

      Type Parameters

      • T extends {}

      Parameters

      • self: T

        object on which the setter should be declared.

      • name: string

        property name

      • symbol: symbol

        symbol instance

      Returns void

      import propertyToSymbol from "apprt-core/propertyToSymbol";

      const _config = Symbol("_config");

      class MyClass {
      constructor(){
      propertyToSymbol(this, "config", _config);
      }
      }