Files
blockly/core/interfaces/i_draggable.js
Christopher Allen d2d5dc4b71 fix: Use require instead of requireType for interfaces (#5568)
But only if the interface is used in an @implements or @extends
declaration.

Fixes #5450
2021-09-29 17:44:21 +01:00

33 lines
639 B
JavaScript

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview The interface for an object that is draggable.
* @author kozbial@google.com (Monica Kozbial)
*/
'use strict';
/**
* The interface for an object that is draggable.
* @namespace Blockly.IDraggable
*/
goog.module('Blockly.IDraggable');
/* eslint-disable-next-line no-unused-vars */
const IDeletable = goog.require('Blockly.IDeletable');
/**
* The interface for an object that can be dragged.
* @extends {IDeletable}
* @interface
* @alias Blockly.IDraggable
*/
const IDraggable = function() {};
exports = IDraggable;