'use strict';

function createExtensionPoint(options) {
  return {
    id: options.id,
    get T() {
      if (process.env.NODE_ENV === "test") {
        return null;
      }
      throw new Error(`tried to read ExtensionPoint.T of ${this}`);
    },
    toString() {
      return `extensionPoint{${options.id}}`;
    },
    $$type: "@backstage/ExtensionPoint"
  };
}

exports.createExtensionPoint = createExtensionPoint;
//# sourceMappingURL=createExtensionPoint.cjs.js.map
