mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
31 lines
561 B
JavaScript
31 lines
561 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2019 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview The interface for an object that is deletable.
|
|
* @author samelh@google.com (Sam El-Husseini)
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
goog.module('Blockly.IDeletable');
|
|
goog.module.declareLegacyNamespace();
|
|
|
|
|
|
/**
|
|
* The interface for an object that can be deleted.
|
|
* @interface
|
|
*/
|
|
const IDeletable = function() {};
|
|
|
|
/**
|
|
* Get whether this object is deletable or not.
|
|
* @return {boolean} True if deletable.
|
|
*/
|
|
IDeletable.prototype.isDeletable;
|
|
|
|
exports = IDeletable;
|