Files
blockly/core/interfaces/i_component.js
Aaron Dodson 3851b14627 refactor: Migrate to named exports (#5623)
* refactor: Migrate to named exports

* fix: Sort requires

* fix: Remove duplicate deps
2021-10-20 15:53:23 -07:00

38 lines
737 B
JavaScript

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Interface for a workspace component that can be registered with
* the ComponentManager.
*/
'use strict';
/**
* Interface for a workspace component that can be registered with
* the ComponentManager.
* @namespace Blockly.IComponent
*/
goog.module('Blockly.IComponent');
/**
* The interface for a workspace component that can be registered with the
* ComponentManager.
* @interface
* @alias Blockly.IComponent
*/
const IComponent = function() {};
/**
* The unique id for this component that is used to register with the
* ComponentManager.
* @type {string}
*/
IComponent.id;
exports.IComponent = IComponent;