Skip to content

Commit 00fada2

Browse files
authored
chore: migrate to ts 5.3.3 (#33235)
1 parent 6b77512 commit 00fada2

File tree

5 files changed

+61
-36
lines changed

5 files changed

+61
-36
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "chore: update react.api.md",
4+
"packageName": "@fluentui/react",
5+
"email": "[email protected]",
6+
"dependentChangeType": "none"
7+
}

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@griffel/webpack-loader": "2.2.10",
7070
"@jest/reporters": "29.7.0",
7171
"@mdx-js/loader": "2.3.0",
72-
"@microsoft/api-extractor": "7.38.5",
72+
"@microsoft/api-extractor": "7.39.0",
7373
"@microsoft/api-extractor-model": "7.28.3",
7474
"@microsoft/eslint-plugin-sdl": "0.1.9",
7575
"@microsoft/load-themed-styles": "1.10.26",
@@ -336,11 +336,11 @@
336336
"tmp": "0.2.1",
337337
"ts-jest": "29.1.1",
338338
"ts-loader": "9.4.2",
339-
"ts-node": "10.9.1",
339+
"ts-node": "10.9.2",
340340
"tsconfig-paths": "4.2.0",
341341
"tsconfig-paths-webpack-plugin": "4.1.0",
342342
"tslib": "2.6.3",
343-
"typescript": "5.2.2",
343+
"typescript": "5.3.3",
344344
"vinyl": "2.2.0",
345345
"webpack": "5.94.0",
346346
"webpack-bundle-analyzer": "4.10.1",
@@ -379,7 +379,6 @@
379379
"swc-loader": "^0.2.6",
380380
"prettier": "2.8.8",
381381
"puppeteer": "19.6.0",
382-
"@microsoft/api-extractor/typescript": "5.2.2",
383382
"ws": "8.17.1"
384383
},
385384
"nx": {

packages/react/etc/react.api.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -1604,49 +1604,49 @@ export { FabricPerformance }
16041604
// @public (undocumented)
16051605
export enum FabricSlots {
16061606
// (undocumented)
1607-
black = 21,
1607+
black = 21,// BaseSlots.primaryColor, Shade[Shade.Unshaded]);
16081608
// (undocumented)
1609-
neutralDark = 20,
1609+
neutralDark = 20,// BaseSlots.primaryColor, Shade[Shade.Shade1]);
16101610
// (undocumented)
1611-
neutralLight = 11,
1611+
neutralLight = 11,// BaseSlots.primaryColor, Shade[Shade.Shade2]);
16121612
// (undocumented)
1613-
neutralLighter = 10,
1613+
neutralLighter = 10,// BaseSlots.primaryColor, Shade[Shade.Shade3]);
16141614
// (undocumented)
1615-
neutralLighterAlt = 9,
1615+
neutralLighterAlt = 9,// BaseSlots.primaryColor, Shade[Shade.Shade4]);
16161616
// (undocumented)
1617-
neutralPrimary = 19,
1617+
neutralPrimary = 19,// BaseSlots.primaryColor, Shade[Shade.Shade5]);
16181618
// (undocumented)
1619-
neutralPrimaryAlt = 18,
1619+
neutralPrimaryAlt = 18,// BaseSlots.primaryColor, Shade[Shade.Shade6]);
16201620
// (undocumented)
1621-
neutralQuaternary = 13,
1621+
neutralQuaternary = 13,// BaseSlots.primaryColor, Shade[Shade.Shade7]);
16221622
// (undocumented)
1623-
neutralQuaternaryAlt = 12,
1623+
neutralQuaternaryAlt = 12,// BaseSlots.primaryColor, Shade[Shade.Shade8]);
16241624
// (undocumented)
1625-
neutralSecondary = 17,
1625+
neutralSecondary = 17,// BaseSlots.backgroundColor, Shade[Shade.Shade1]);
16261626
// (undocumented)
1627-
neutralSecondaryAlt = 16,
1627+
neutralSecondaryAlt = 16,// BaseSlots.backgroundColor, Shade[Shade.Shade2]);
16281628
// (undocumented)
1629-
neutralTertiary = 15,
1629+
neutralTertiary = 15,// BaseSlots.backgroundColor, Shade[Shade.Shade3]);
16301630
// (undocumented)
1631-
neutralTertiaryAlt = 14,
1631+
neutralTertiaryAlt = 14,// BaseSlots.backgroundColor, Shade[Shade.Shade4]);
16321632
// (undocumented)
1633-
themeDark = 7,
1633+
themeDark = 7,// BaseSlots.backgroundColor, Shade[Shade.Shade5]);
16341634
// (undocumented)
1635-
themeDarkAlt = 6,
1635+
themeDarkAlt = 6,// BaseSlots.backgroundColor, Shade[Shade.Shade6]); // bg6 or fg2
16361636
// (undocumented)
1637-
themeDarker = 8,
1637+
themeDarker = 8,// BaseSlots.foregroundColor, Shade[Shade.Shade3]);
16381638
// (undocumented)
1639-
themeLight = 3,
1639+
themeLight = 3,// BaseSlots.foregroundColor, Shade[Shade.Shade4]);
16401640
// (undocumented)
1641-
themeLighter = 2,
1641+
themeLighter = 2,// BaseSlots.foregroundColor, Shade[Shade.Shade5]);
16421642
// (undocumented)
1643-
themeLighterAlt = 1,
1643+
themeLighterAlt = 1,// BaseSlots.foregroundColor, Shade[Shade.Shade6]);
16441644
// (undocumented)
1645-
themePrimary = 0,
1645+
themePrimary = 0,// BaseSlots.foregroundColor, Shade[Shade.Unshaded]);
16461646
// (undocumented)
1647-
themeSecondary = 5,
1647+
themeSecondary = 5,// BaseSlots.foregroundColor, Shade[Shade.Shade7]);
16481648
// (undocumented)
1649-
themeTertiary = 4,
1649+
themeTertiary = 4,// BaseSlots.foregroundColor, Shade[Shade.Shade8]);
16501650
// (undocumented)
16511651
white = 22
16521652
}

packages/react/src/components/ContextualMenu/ContextualMenu.base.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const _getMenuItemStylesFunction = memoizeFunction(
149149
...styles: (IStyleFunctionOrObject<IContextualMenuItemStyleProps, IContextualMenuItemStyles> | undefined)[]
150150
): IStyleFunctionOrObject<IContextualMenuItemStyleProps, IContextualMenuItemStyles> => {
151151
return (styleProps: IContextualMenuItemStyleProps) =>
152-
concatStyleSetsWithProps(styleProps, getItemStyles, ...styles);
152+
concatStyleSetsWithProps(styleProps, getItemStyles, ...styles) as IContextualMenuItemStyles;
153153
},
154154
);
155155

yarn.lock

+28-9
Original file line numberDiff line numberDiff line change
@@ -2485,10 +2485,10 @@
24852485
"@microsoft/tsdoc-config" "~0.16.1"
24862486
"@rushstack/node-core-library" "3.62.0"
24872487

2488-
"@microsoft/api-extractor@7.38.5":
2489-
version "7.38.5"
2490-
resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.38.5.tgz#51d4cd917a31fa1a5c6d6a02e446526de763ac32"
2491-
integrity sha512-c/w2zfqBcBJxaCzpJNvFoouWewcYrUOfeu5ZkWCCIXTF9a/gXM85RGevEzlMAIEGM/kssAAZSXRJIZ3Q5vLFow==
2488+
"@microsoft/api-extractor@7.39.0":
2489+
version "7.39.0"
2490+
resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.39.0.tgz#41c25f7f522e8b9376debda07364ff234e602eff"
2491+
integrity sha512-PuXxzadgnvp+wdeZFPonssRAj/EW4Gm4s75TXzPk09h3wJ8RS3x7typf95B4vwZRrPTQBGopdUl+/vHvlPdAcg==
24922492
dependencies:
24932493
"@microsoft/api-extractor-model" "7.28.3"
24942494
"@microsoft/tsdoc" "0.14.2"
@@ -2501,7 +2501,7 @@
25012501
resolve "~1.22.1"
25022502
semver "~7.5.4"
25032503
source-map "~0.6.1"
2504-
typescript "~5.0.4"
2504+
typescript "5.3.3"
25052505

25062506
"@microsoft/[email protected]":
25072507
version "3.3.0"
@@ -22632,6 +22632,25 @@ [email protected]:
2263222632
v8-compile-cache-lib "^3.0.1"
2263322633
yn "3.1.1"
2263422634

22635+
22636+
version "10.9.2"
22637+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f"
22638+
integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==
22639+
dependencies:
22640+
"@cspotcode/source-map-support" "^0.8.0"
22641+
"@tsconfig/node10" "^1.0.7"
22642+
"@tsconfig/node12" "^1.0.7"
22643+
"@tsconfig/node14" "^1.0.0"
22644+
"@tsconfig/node16" "^1.0.2"
22645+
acorn "^8.4.1"
22646+
acorn-walk "^8.1.1"
22647+
arg "^4.1.0"
22648+
create-require "^1.1.0"
22649+
diff "^4.0.1"
22650+
make-error "^1.1.1"
22651+
v8-compile-cache-lib "^3.0.1"
22652+
yn "3.1.1"
22653+
2263522654
2263622655
version "9.6.0"
2263722656
resolved "https://registry.yarnpkg.com/ts-toolbelt/-/ts-toolbelt-9.6.0.tgz#50a25426cfed500d4a09bd1b3afb6f28879edfd5"
@@ -22820,10 +22839,10 @@ typescript-eslint@^8.0.0:
2282022839
"@typescript-eslint/parser" "8.8.1"
2282122840
"@typescript-eslint/utils" "8.8.1"
2282222841

22823-
typescript@5.2.2, typescript@~5.0.4:
22824-
version "5.2.2"
22825-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
22826-
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
22842+
typescript@5.3.3:
22843+
version "5.3.3"
22844+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
22845+
integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==
2282722846

2282822847
typescript@~5.4.2:
2282922848
version "5.4.5"

0 commit comments

Comments
 (0)