Skip to content

LogService - fix typings #1034

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 2 commits into from
Nov 16, 2020
Merged

Conversation

M-i-k-e-l
Copy link
Collaborator

Description

LogService - fix typings

Changelog

LogService - fix typings

declare function deprecationWarn({ component, oldProp, newProp }: ({
component: string;
oldProp: string;
newProp: string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

'newProp' parameter should stay optional as we sometimes deprecate a prop with no replacement. Which means we also need to edit the massage accordingly...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added an option

@M-i-k-e-l M-i-k-e-l requested a review from Inbal-Tish November 16, 2020 08:55
@Inbal-Tish Inbal-Tish merged commit dcfb7f2 into master Nov 16, 2020
@M-i-k-e-l M-i-k-e-l deleted the typescript/fix-log-service-typings branch January 25, 2021 09:06
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