Skip to content

Commit cf6b94b

Browse files
authored
chore: migrate to TS 4.7 (#28067)
* chore: migrate to TS 4.7 * fix(tools): resolve TS errors exposed by TS 4.7 * fix(tokens): resolve TS errors exposed by TS 4.7 * docs(date-time-utilities): re-generate api.md caused by api-extractor fixing issues on how to generate optional/undefined * docs(react-shared-contexts): re-generate api.md caused by api-extractor implementation changes * docs(react-theme): re-generate api.md caused by api-extractor implementation changes * docs: re-generate api.md caused by api-extractor implementation changes * fix(scripts-storybook): resolve TS errors exposed by TS 4.7 * fix(utilities): resolve TS errors exposed by TS 4.7 * docs(react): re-generate api.md which was changed because TS 4.7 dts emit change - Optional parameter does not on include undefined * docs(react-toast): re-generate api.md which was changed because TS 4.7 dts emit change - Optional parameter does not on include undefined * docs(react-breadcrumb): re-generate api.md which was changed because TS 4.7 dts emit change - Optional parameter does not on include undefined * fix(react-norhtstar): resolve TS errors exposed by TS 4.7 * fix(react-experiments): resolve TS errors exposed by TS 4.7 * docs(react-migration-v8-v9): re-generate api.md which was changed because TS 4.7 dts emit change - Optional parameter does not on include undefined
1 parent 402599e commit cf6b94b

29 files changed

Lines changed: 169 additions & 109 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: bump api-extractor-model to support typescript 4.7",
4+
"packageName": "@fluentui/api-docs",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: migrate to ts 4.7 which wont emit undefined anymore for optional arguments",
4+
"packageName": "@fluentui/date-time-utilities",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: migrate to ts 4.7 which wont emit undefined anymore for optional arguments",
4+
"packageName": "@fluentui/react",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: resolve FloatingSuggestion if conditions to mitigate ts 4.7 always true violation\"",
4+
"packageName": "@fluentui/react-experiments",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: migrate to ts 4.7 which wont emit undefined anymore for optional arguments",
4+
"packageName": "@fluentui/react-migration-v8-v9",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: migrate to ts 4.7 which wont emit undefined anymore for optional arguments",
4+
"packageName": "@fluentui/react-positioning",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "chore: re-generate api.md",
4+
"packageName": "@fluentui/react-shared-contexts",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "none"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: migrate to ts 4.7 which wont emit undefined anymore for optional arguments",
4+
"packageName": "@fluentui/react-tabster",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "chore: migrate to ts 4.7 which wont emit undefined anymore for optional arguments",
4+
"packageName": "@fluentui/react-virtualizer",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "fix: cast to String keys interpolated within string literals",
4+
"packageName": "@fluentui/tokens",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}

0 commit comments

Comments
 (0)