Files
blockly/core/interfaces/i_component.ts
T
2022-07-07 18:45:11 +00:00

32 lines
626 B
TypeScript

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Interface for a workspace component that can be registered with
* the ComponentManager.
*/
/**
* Interface for a workspace component that can be registered with
* the ComponentManager.
* @namespace 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;
}