Files
blockly/core/interfaces/i_component.ts
2022-08-16 16:11:00 -07:00

30 lines
612 B
TypeScript

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* Interface for a workspace component that can be registered with
* the ComponentManager.
*
* @namespace Blockly.IComponent
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.IComponent');
/**
* The interface for a workspace component that can be registered with the
* ComponentManager.
*
* @alias Blockly.IComponent
*/
export interface IComponent {
/**
* The unique id for this component that is used to register with the
* ComponentManager.
*/
id: string;
}