@@ -847,6 +847,10 @@ export namespace Components {
847
847
*/
848
848
interface MyComponent {
849
849
"name": UserImplementedPropType;
850
+ /**
851
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
852
+ */
853
+ "my-cmp"?: UserImplementedPropType;
850
854
}
851
855
}
852
856
declare global {
@@ -869,6 +873,10 @@ declare namespace LocalJSX {
869
873
*/
870
874
interface MyComponent {
871
875
"name"?: UserImplementedPropType;
876
+ /**
877
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
878
+ */
879
+ "my-cmp"?: UserImplementedPropType;
872
880
}
873
881
interface IntrinsicElements {
874
882
"my-component": MyComponent;
@@ -949,7 +957,15 @@ export namespace Components {
949
957
*/
950
958
interface MyComponent {
951
959
"email": SecondUserImplementedPropType;
960
+ /**
961
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
962
+ */
963
+ "my-cmp"?: SecondUserImplementedPropType;
952
964
"name": UserImplementedPropType;
965
+ /**
966
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
967
+ */
968
+ "my-cmp"?: UserImplementedPropType;
953
969
}
954
970
}
955
971
declare global {
@@ -972,7 +988,15 @@ declare namespace LocalJSX {
972
988
*/
973
989
interface MyComponent {
974
990
"email"?: SecondUserImplementedPropType;
991
+ /**
992
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
993
+ */
994
+ "my-cmp"?: SecondUserImplementedPropType;
975
995
"name"?: UserImplementedPropType;
996
+ /**
997
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
998
+ */
999
+ "my-cmp"?: UserImplementedPropType;
976
1000
}
977
1001
interface IntrinsicElements {
978
1002
"my-component": MyComponent;
@@ -1063,12 +1087,20 @@ export namespace Components {
1063
1087
*/
1064
1088
interface MyComponent {
1065
1089
"name": UserImplementedPropType;
1090
+ /**
1091
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1092
+ */
1093
+ "my-cmp"?: UserImplementedPropType;
1066
1094
}
1067
1095
/**
1068
1096
* docs
1069
1097
*/
1070
1098
interface MyNewComponent {
1071
1099
"fullName": UserImplementedPropType;
1100
+ /**
1101
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1102
+ */
1103
+ "my-cmp"?: UserImplementedPropType;
1072
1104
}
1073
1105
}
1074
1106
declare global {
@@ -1101,12 +1133,20 @@ declare namespace LocalJSX {
1101
1133
*/
1102
1134
interface MyComponent {
1103
1135
"name"?: UserImplementedPropType;
1136
+ /**
1137
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1138
+ */
1139
+ "my-cmp"?: UserImplementedPropType;
1104
1140
}
1105
1141
/**
1106
1142
* docs
1107
1143
*/
1108
1144
interface MyNewComponent {
1109
1145
"fullName"?: UserImplementedPropType;
1146
+ /**
1147
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1148
+ */
1149
+ "my-cmp"?: UserImplementedPropType;
1110
1150
}
1111
1151
interface IntrinsicElements {
1112
1152
"my-component": MyComponent;
@@ -1207,12 +1247,20 @@ export namespace Components {
1207
1247
*/
1208
1248
interface MyComponent {
1209
1249
"name": UserImplementedPropType;
1250
+ /**
1251
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1252
+ */
1253
+ "my-cmp"?: UserImplementedPropType;
1210
1254
}
1211
1255
/**
1212
1256
* docs
1213
1257
*/
1214
1258
interface MyNewComponent {
1215
1259
"newName": UserImplementedPropType1;
1260
+ /**
1261
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1262
+ */
1263
+ "my-cmp"?: UserImplementedPropType1;
1216
1264
}
1217
1265
}
1218
1266
declare global {
@@ -1245,12 +1293,20 @@ declare namespace LocalJSX {
1245
1293
*/
1246
1294
interface MyComponent {
1247
1295
"name"?: UserImplementedPropType;
1296
+ /**
1297
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1298
+ */
1299
+ "my-cmp"?: UserImplementedPropType;
1248
1300
}
1249
1301
/**
1250
1302
* docs
1251
1303
*/
1252
1304
interface MyNewComponent {
1253
1305
"newName"?: UserImplementedPropType1;
1306
+ /**
1307
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1308
+ */
1309
+ "my-cmp"?: UserImplementedPropType1;
1254
1310
}
1255
1311
interface IntrinsicElements {
1256
1312
"my-component": MyComponent;
@@ -1351,12 +1407,20 @@ export namespace Components {
1351
1407
*/
1352
1408
interface MyComponent {
1353
1409
"name": UserImplementedPropType;
1410
+ /**
1411
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1412
+ */
1413
+ "my-cmp"?: UserImplementedPropType;
1354
1414
}
1355
1415
/**
1356
1416
* docs
1357
1417
*/
1358
1418
interface MyNewComponent {
1359
1419
"name": UserImplementedPropType1;
1420
+ /**
1421
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1422
+ */
1423
+ "my-cmp"?: UserImplementedPropType1;
1360
1424
}
1361
1425
}
1362
1426
declare global {
@@ -1389,12 +1453,20 @@ declare namespace LocalJSX {
1389
1453
*/
1390
1454
interface MyComponent {
1391
1455
"name"?: UserImplementedPropType;
1456
+ /**
1457
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1458
+ */
1459
+ "my-cmp"?: UserImplementedPropType;
1392
1460
}
1393
1461
/**
1394
1462
* docs
1395
1463
*/
1396
1464
interface MyNewComponent {
1397
1465
"name"?: UserImplementedPropType1;
1466
+ /**
1467
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1468
+ */
1469
+ "my-cmp"?: UserImplementedPropType1;
1398
1470
}
1399
1471
interface IntrinsicElements {
1400
1472
"my-component": MyComponent;
@@ -1472,6 +1544,10 @@ export namespace Components {
1472
1544
*/
1473
1545
interface MyComponent {
1474
1546
"name": UserImplementedPropType;
1547
+ /**
1548
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1549
+ */
1550
+ "my-cmp"?: UserImplementedPropType;
1475
1551
}
1476
1552
}
1477
1553
export interface MyComponentCustomEvent<T> extends CustomEvent<T> {
@@ -1509,6 +1585,10 @@ declare namespace LocalJSX {
1509
1585
*/
1510
1586
interface MyComponent {
1511
1587
"name"?: UserImplementedPropType;
1588
+ /**
1589
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1590
+ */
1591
+ "my-cmp"?: UserImplementedPropType;
1512
1592
"onMyEvent"?: (event: MyComponentCustomEvent<UserImplementedEventType>) => void;
1513
1593
}
1514
1594
interface IntrinsicElements {
@@ -1590,6 +1670,10 @@ export namespace Components {
1590
1670
*/
1591
1671
interface MyComponent {
1592
1672
"name": UserImplementedPropType;
1673
+ /**
1674
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1675
+ */
1676
+ "my-cmp"?: UserImplementedPropType;
1593
1677
}
1594
1678
}
1595
1679
declare global {
@@ -1612,6 +1696,10 @@ declare namespace LocalJSX {
1612
1696
*/
1613
1697
interface MyComponent {
1614
1698
"name"?: UserImplementedPropType;
1699
+ /**
1700
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1701
+ */
1702
+ "my-cmp"?: UserImplementedPropType;
1615
1703
}
1616
1704
interface IntrinsicElements {
1617
1705
"my-component": MyComponent;
@@ -1682,6 +1770,10 @@ export namespace Components {
1682
1770
*/
1683
1771
interface MyComponent {
1684
1772
"name": UserImplementedPropType;
1773
+ /**
1774
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1775
+ */
1776
+ "my-cmp"?: UserImplementedPropType;
1685
1777
}
1686
1778
}
1687
1779
declare global {
@@ -1704,6 +1796,10 @@ declare namespace LocalJSX {
1704
1796
*/
1705
1797
interface MyComponent {
1706
1798
"name"?: UserImplementedPropType;
1799
+ /**
1800
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1801
+ */
1802
+ "my-cmp"?: UserImplementedPropType;
1707
1803
}
1708
1804
interface IntrinsicElements {
1709
1805
"my-component": MyComponent;
@@ -1762,6 +1858,8 @@ declare module "@stencil/core" {
1762
1858
1763
1859
await generateAppTypes ( config , compilerCtx , buildCtx , 'src' ) ;
1764
1860
1861
+ console . log ( mockWriteFile . mock . calls [ 0 ] [ 1 ] ) ;
1862
+
1765
1863
expect ( mockWriteFile ) . toHaveBeenCalledWith (
1766
1864
'/components.d.ts' ,
1767
1865
`/* eslint-disable */
@@ -1781,6 +1879,10 @@ export namespace Components {
1781
1879
*/
1782
1880
interface MyComponent {
1783
1881
"name": UserImplementedPropType;
1882
+ /**
1883
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1884
+ */
1885
+ "my-cmp"?: UserImplementedPropType;
1784
1886
}
1785
1887
}
1786
1888
declare global {
@@ -1803,6 +1905,10 @@ declare namespace LocalJSX {
1803
1905
*/
1804
1906
interface MyComponent {
1805
1907
"name"?: UserImplementedPropType;
1908
+ /**
1909
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1910
+ */
1911
+ "my-cmp"?: UserImplementedPropType;
1806
1912
}
1807
1913
interface IntrinsicElements {
1808
1914
"my-component": MyComponent;
0 commit comments