Skip to content

Commit

Permalink
chore: fix backpack docs (#1750)
Browse files Browse the repository at this point in the history
* chore: fix backpack docs

* chore: remove type declarations
  • Loading branch information
BeksOmega authored Jul 7, 2023
1 parent e6ad458 commit 871a5a1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugins/workspace-backpack/src/backpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
import * as Blockly from 'blockly/core';
import {registerContextMenus} from './backpack_helpers';
import {BackpackChange, BackpackOpen} from './ui_events';
import {BackpackContextMenuOptions, BackpackOptions, parseOptions} from './options';
import {parseOptions} from './options';
// import {BackpackOptions} from './options';

/**
* Class for backpack that can be used save blocks from the workspace for
* future use.
* @param {!Blockly.WorkspaceSvg} workspace The workspace to sit in.
* @implements {Blockly.IAutoHideable}
* @implements {Blockly.IPositionable}
* @extends {Blockly.DragTarget}
Expand All @@ -27,7 +27,7 @@ export class Backpack extends Blockly.DragTarget {
* Constructor for a backpack.
* @param {!Blockly.WorkspaceSvg} targetWorkspace The target workspace that
* the backpack will be added to.
* @param {!BackpackOptions=} backpackOptions The backpack options to use.
* @param backpackOptions The backpack options to use.
*/
constructor(targetWorkspace, backpackOptions) {
super();
Expand All @@ -47,7 +47,6 @@ export class Backpack extends Blockly.DragTarget {

/**
* The backpack options.
* @type {!BackpackOptions}
*/
this.options_ = parseOptions(backpackOptions);

Expand Down

0 comments on commit 871a5a1

Please sign in to comment.