@@ -9,8 +9,7 @@ import dxCLASS_NAME, {
99
1010import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
1111
12- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
13- }>
12+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
1413
1514class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
1615
@@ -42,10 +41,13 @@ it('generates extension component', () => {
4241 // #region EXPECTED
4342 const EXPECTED = `
4443import dxCLASS_NAME, {
45- Properties as ICLASS_NAMEOptions
44+ Properties
4645} from "DX/WIDGET/PATH";
4746
4847import { ExtensionComponent as BaseComponent } from "EXTENSION_COMPONENT_PATH";
48+ import { IHtmlOptions } from "BASE_COMPONENT_PATH";
49+
50+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
4951
5052class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
5153
@@ -457,8 +459,7 @@ import dxCLASS_NAME, {
457459import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
458460import NestedOption from "CONFIG_COMPONENT_PATH";
459461
460- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
461- }>
462+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
462463
463464class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
464465
@@ -571,8 +572,7 @@ import dxCLASS_NAME, {
571572import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
572573import NestedOption from "CONFIG_COMPONENT_PATH";
573574
574- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
575- }>
575+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
576576
577577class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
578578
@@ -639,8 +639,7 @@ import dxCLASS_NAME, {
639639import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
640640import NestedOption from "CONFIG_COMPONENT_PATH";
641641
642- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
643- }>
642+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
644643
645644class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
646645
@@ -724,8 +723,7 @@ import dxCLASS_NAME, {
724723import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
725724import NestedOption from "CONFIG_COMPONENT_PATH";
726725
727- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
728- }>
726+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
729727
730728class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
731729
@@ -800,8 +798,7 @@ import dxCLASS_NAME, {
800798import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
801799import NestedOption from "CONFIG_COMPONENT_PATH";
802800
803- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
804- }>
801+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
805802
806803class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
807804
@@ -873,8 +870,7 @@ import dxCLASS_NAME, {
873870import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
874871import NestedOption from "CONFIG_COMPONENT_PATH";
875872
876- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
877- }>
873+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
878874
879875class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
880876
@@ -966,8 +962,7 @@ import dxCLASS_NAME, {
966962import * as PropTypes from "prop-types";
967963import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
968964
969- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
970- }>
965+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
971966
972967class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
973968
@@ -1014,8 +1009,7 @@ import dxCLASS_NAME, {
10141009import * as PropTypes from "prop-types";
10151010import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
10161011
1017- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
1018- }>
1012+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
10191013
10201014class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
10211015
@@ -1069,8 +1063,7 @@ import dxCLASS_NAME, {
10691063import * as PropTypes from "prop-types";
10701064import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
10711065
1072- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
1073- }>
1066+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
10741067
10751068class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
10761069
@@ -1120,8 +1113,7 @@ import dxCLASS_NAME, {
11201113import * as PropTypes from "prop-types";
11211114import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
11221115
1123- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
1124- }>
1116+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
11251117
11261118class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
11271119
@@ -1171,8 +1163,7 @@ import dxCLASS_NAME, {
11711163import * as PropTypes from "prop-types";
11721164import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
11731165
1174- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
1175- }>
1166+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
11761167
11771168class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
11781169
@@ -1238,8 +1229,7 @@ import dxCLASS_NAME, {
12381229
12391230import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
12401231
1241- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
1242- }>
1232+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
12431233
12441234class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
12451235
@@ -1286,8 +1276,7 @@ import dxCLASS_NAME, {
12861276import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
12871277import NestedOption from "CONFIG_COMPONENT_PATH";
12881278
1289- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
1290- }>
1279+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
12911280
12921281class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
12931282
@@ -1370,8 +1359,7 @@ type ICLASS_NAMEOptionsNarrowedEvents = {
13701359 onSomethingHappened?: ((e: SomethingHappenedEvent) => void);
13711360}
13721361
1373- type ICLASS_NAMEOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ICLASS_NAMEOptionsNarrowedEvents> & IHtmlOptions & {
1374- }>
1362+ type ICLASS_NAMEOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ICLASS_NAMEOptionsNarrowedEvents> & IHtmlOptions>
13751363
13761364class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
13771365
@@ -1408,8 +1396,7 @@ import dxCLASS_NAME, {
14081396
14091397import { Component as BaseComponent, IHtmlOptions } from "BASE_COMPONENT_PATH";
14101398
1411- type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
1412- }>
1399+ type ICLASS_NAMEOptions = React.PropsWithChildren<Properties & IHtmlOptions>
14131400
14141401class CLASS_NAME extends BaseComponent<React.PropsWithChildren<ICLASS_NAMEOptions>> {
14151402
0 commit comments