File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
app/code/Magento/PageBuilder/view/adminhtml/web/ts/js Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3
3
* See COPYING.txt for license details.
4
4
*/
5
5
import ContentTypeInterface from "./content-type" ;
6
- import ContentTypeCollectionInterface from "./content-type-collection" ;
6
+ import ContentTypeCollectionInterface from "./content-type-collection.d " ;
7
7
8
8
/**
9
9
* @api
Original file line number Diff line number Diff line change 3
3
* See COPYING.txt for license details.
4
4
*/
5
5
6
- import ContentTypeCollectionInterface from "../content-type-collection" ;
6
+ import ContentTypeCollectionInterface from "../content-type-collection.d " ;
7
7
import ContentTypeInterface from "../content-type" ;
8
8
9
9
/**
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import $ from "jquery";
7
7
import ko from "knockout" ;
8
8
import events from "Magento_PageBuilder/js/events" ;
9
9
import ContentTypeInterface from "../content-type" ;
10
- import ContentTypeCollectionInterface from "../content-type-collection" ;
10
+ import ContentTypeCollectionInterface from "../content-type-collection.d " ;
11
11
import createContentType from "../content-type-factory" ;
12
12
import Preview from "../content-type/preview" ;
13
13
import Stage from "../stage" ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import loadReader from "Magento_PageBuilder/js/utils/loader";
9
9
import alertDialog from "Magento_Ui/js/modal/alert" ;
10
10
import * as _ from "underscore" ;
11
11
import Config from "./config" ;
12
- import ContentTypeCollectionInterface from "./content-type-collection" ;
12
+ import ContentTypeCollectionInterface from "./content-type-collection.d " ;
13
13
import ContentTypeConfigInterface from "./content-type-config.d" ;
14
14
import createContentType from "./content-type-factory" ;
15
15
import ContentTypeInterface from "./content-type.d" ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import alertDialog from "Magento_Ui/js/modal/alert";
11
11
import _ from "underscore" ;
12
12
import "./binding/sortable" ;
13
13
import Collection from "./collection" ;
14
- import ContentTypeCollectionInterface from "./content-type-collection" ;
14
+ import ContentTypeCollectionInterface from "./content-type-collection.d " ;
15
15
import ContentTypeConfigInterface from "./content-type-config" ;
16
16
import ContentTypeRemovedParamsInterface from "./content-type-removed-params.d" ;
17
17
import ContentTypeInterface from "./content-type.d" ;
@@ -122,9 +122,9 @@ export default class Stage {
122
122
/**
123
123
* Return the children of the current element
124
124
*
125
- * @returns {KnockoutObservableArray<ContentTypeInterface> }
125
+ * @returns {KnockoutObservableArray<ContentTypeInterface | ContentTypeCollectionInterface > }
126
126
*/
127
- public getChildren ( ) : KnockoutObservableArray < ContentTypeCollectionInterface > {
127
+ public getChildren ( ) {
128
128
return this . collection . getChildren ( ) ;
129
129
}
130
130
You can’t perform that action at this time.
0 commit comments