-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
expectType
is not compatible with @typescript-eslint/no-unsafe-call
#99
Comments
sindresorhus
added a commit
to xojs/eslint-config-xo-typescript
that referenced
this issue
May 9, 2021
Is this a bug in the rule? Because import normalizeNewline from './index.js';
declare const expectType: <T>(value: T) => void;
expectType<string>(normalizeNewline('foo\r\nbar\nbaz')); So I'm wondering what could actually cause this 🤔 . |
@sindresorhus I tried to reproduce this with the current version of |
codehub0x
added a commit
to codehub0x/eslint-typescript
that referenced
this issue
Jul 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's causing a lint error:
The text was updated successfully, but these errors were encountered: