-
Notifications
You must be signed in to change notification settings - Fork 41
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
[feature request] a new option to ignore Non-null assertion operator
#80
Comments
It's duplicated as #62 |
|
I tried but it seems not working. 😂
|
Did you use |
It should be ralted to cache. I used {
"typeCoverage": {
"atLeast": 100,
"cache": true,
"detail": true,
"ignoreCatch": true,
"ignoreFiles": "*.d.ts",
"ignoreNonNullAssertion": true,
"strict": true
}
} I tried to run |
@plantain-00 Are you going to check the problem of cache, or should I close this issue? |
I will check it in next few days, I don't have time now. |
In |
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-0.html#non-null-assertion-operator
Sometimes, we can just confirm the value is non null.
Expected:
Pass
Actual:
Fail
The text was updated successfully, but these errors were encountered: