Skip to content
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

[Typings] Update the TypeScript typings to identify the readonly properties/fields and dynamic values of the snippet #1546 #1548

Merged
merged 4 commits into from
Apr 29, 2021

Conversation

xiao-lix
Copy link
Contributor

@xiao-lix xiao-lix commented Apr 23, 2021

Address #1546

@xiao-lix xiao-lix requested a review from MSNev April 23, 2021 20:53
@@ -40,7 +40,7 @@ export interface ITelemetryContext {
/**
* The object describing a user tracked by this object.
*/
user: IUserContext;
readonly user: IUserContext;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There will be a LOT more than just these.

We need to go over all of the API surface and allocate the correct settings.

eg. All of the TelemetryContext objects should be readonly,

@MSNev MSNev changed the title add typings [Typings] Update the TypeScript typings to identify the readonly properties/fields and dynamic values of the snippet #1546 Apr 23, 2021
@xiao-lix xiao-lix merged commit e25508e into master Apr 29, 2021
@MSNev MSNev deleted the lxiao/typing branch August 4, 2021 19:42
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.

2 participants