UNPKG

@omnia/fx-models

Version:
23 lines (22 loc) 823 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PropertyDefinition = exports.PropertySetupBase = exports.PropertyDisplaySettingsBase = void 0; class PropertyDisplaySettingsBase { } exports.PropertyDisplaySettingsBase = PropertyDisplaySettingsBase; //// Begining: Making the typing work for PropertyDefinition without specifying TPropertySetupSettings gives type never, i.e compile error else the correct typing if set. ///This is kind of magic stuff getting ts to have the desired behaviour /** * The base for PropertySetup */ class PropertySetupBase { } exports.PropertySetupBase = PropertySetupBase; class UndefinedMirrorOfPropertySetupBase extends PropertySetupBase { } ///End class PropertyDefinition { constructor() { } } exports.PropertyDefinition = PropertyDefinition;