Skip to content

Commit

Permalink
chore: added type information to core/field_dropdown.ts (#6550)
Browse files Browse the repository at this point in the history
* chore: added generator type to `core/field_dropdown.ts` and updated affected files

* chore: added type to ARROW_CHAR in `core/field_dropdown.ts`

* chore: cleaned up misc 'AnyDuringMigration' cases and related comments

* fix: misc adjustments from PR feedback

* Fix: simplified `getOptions`

* fix: removed outdated arrow and cleaned up formatting

* fix: cleanup format after rebase
  • Loading branch information
btw17 authored Oct 24, 2022
1 parent daee180 commit f22303b
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 172 deletions.
4 changes: 2 additions & 2 deletions core/blockly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import {Field} from './field.js';
import {FieldAngle} from './field_angle.js';
import {FieldCheckbox} from './field_checkbox.js';
import {FieldColour} from './field_colour.js';
import {FieldDropdown} from './field_dropdown.js';
import {FieldDropdown, MenuGenerator, MenuGeneratorFunction, MenuOption} from './field_dropdown.js';
import {FieldImage} from './field_image.js';
import {FieldLabel} from './field_label.js';
import {FieldLabelSerializable} from './field_label_serializable.js';
Expand Down Expand Up @@ -651,7 +651,7 @@ export {Field};
export {FieldAngle};
export {FieldCheckbox};
export {FieldColour};
export {FieldDropdown};
export {FieldDropdown, MenuGenerator, MenuGeneratorFunction, MenuOption};
export {FieldImage};
export {FieldLabel};
export {FieldLabelSerializable};
Expand Down
Loading

0 comments on commit f22303b

Please sign in to comment.