Skip to content

Update typescript version #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

zhiyuanliang-ms
Copy link
Contributor

@zhiyuanliang-ms zhiyuanliang-ms commented Oct 21, 2024

Why this change

There is a breaking change in 5.6.x: https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/#what’s-new-since-the-beta-and-rc

The interface of ReadonlyMap changed. Our AzureAppConfiguration implements it.

You may see some read underscore in vscode, this is because the built-in typescript version is 5.6+

Visible change

Actually, there won't be visible change for users who consume our package. The compiled file will be written in javascript and there will be no types there. So the compiled outputs will be the same.

@Eskibear
Copy link
Member

LGTM to update accordingly if it's a breaking change of ReadOnlyMap declaration from TS 5.6.x. No problem for JS developers.
But for TS developers who are using TS Compiler < 5.6.x, can they compile the code after the change? If not, we need to add TS 5.6.x as pre-requisites.

@zhiyuanliang-ms
Copy link
Contributor Author

LGTM to update accordingly if it's a breaking change of ReadOnlyMap declaration from TS 5.6.x. No problem for JS developers. But for TS developers who are using TS Compiler < 5.6.x, can they compile the code after the change? If not, we need to add TS 5.6.x as pre-requisites.

I updated the dependency in package.json. We required the minimum version to 5.6.3

@zhiyuanliang-ms zhiyuanliang-ms merged commit 263859d into main Oct 22, 2024
4 checks passed
@zhiyuanliang-ms zhiyuanliang-ms deleted the zhiyuanliang/update-typescript branch October 22, 2024 02:21
linglingye001 pushed a commit that referenced this pull request Oct 24, 2024
zhiyuanliang-ms added a commit that referenced this pull request Oct 31, 2024
* Adds additional undefined check (#104)

* add loadCdn

* revert change

* fix lint

* update to loadFromCdn & reuse load method

* update

* update

* add js file extension to imports (#109)

* update typescript version (#112)

* add requestTracingOptions (#114)

* Version bump 1.1.1 (#115)

* bump up version 1.1.1

* update

---------

Co-authored-by: Ross Grambo <rossgrambo@microsoft.com>
Co-authored-by: linglingye001 <143174321+linglingye001@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants