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

ref(ts): Refactor Incident Details to typescript #14510

Merged
merged 8 commits into from
Aug 27, 2019

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Aug 26, 2019

This refactors Incident Details components to use typescript and adds additional + more accurate typings.

render() {
const {params, incident} = this.props;

// Considered loading when there is no incident object
const loading = !incident;
Copy link
Member Author

Choose a reason for hiding this comment

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

No longer used because of microsoft/TypeScript#12184

@billyvg billyvg requested a review from a team August 26, 2019 21:53
Copy link
Member

@markstory markstory left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@billyvg billyvg merged commit c5efd5b into master Aug 27, 2019
@billyvg billyvg deleted the ref/ts/incident-details branch August 27, 2019 19:02
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants