Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

Fix bug where the strict ts flag wasn't recognised correctly by no-unnecessary-type-assertion#4841

Merged
JoshuaKGoldberg merged 3 commits intopalantir:masterfrom
guidsdo:master
Aug 31, 2019
Merged

Fix bug where the strict ts flag wasn't recognised correctly by no-unnecessary-type-assertion#4841
JoshuaKGoldberg merged 3 commits intopalantir:masterfrom
guidsdo:master

Conversation

@guidsdo
Copy link
Contributor

@guidsdo guidsdo commented Aug 26, 2019

This commit fixes #4840

PR checklist

Overview of change:

Fixed simple bug.

Is there anything you'd like reviewers to focus on?

Nope.

CHANGELOG.md entry:

[bugfix] fix no-unnecessary-type-assertion no error when "strict": true in compiler flags

Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Looks great! One quick change, if you don't mind 🙏.

Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Thanks @guidsdo!

@JoshuaKGoldberg JoshuaKGoldberg merged commit 44947c5 into palantir:master Aug 31, 2019
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.

Rule no-unnecessary-type-assertion doesn't work if tsconfig has "strict": true

2 participants