We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
eslint-plugin
The ESLint rule should detect the following cases as valid/invalid:
const withX = <Y>() => signalStoreFeature({ state: type<{ y: Y }>() }, withState({})); // ✅ const withX = <Y>() => signalStoreFeature(type<{ state: { y: Y } }>(), withState({})); // ✅ const withX = <_>() => signalStoreFeature({ state: type<{ y: number }>() }, withState({})); // ✅ const withX = <_>() => signalStoreFeature(type<{ state: { y: number } }>(), withState({})); // ✅ const withX = signalStoreFeature({ state: type<{ y: number }>() }, withState({})); // ❌ const withX = signalStoreFeature(type<{ state: { y: number } }>(), withState({})); // ❌ const withX = () => signalStoreFeature({ state: type<{ y: number }>() }, withState({})); // ❌ const withX = () => signalStoreFeature(type<{ state: { y: number } }>(), withState({})); // ❌
No response
The text was updated successfully, but these errors were encountered:
e2ab916
timdeschryver
Successfully merging a pull request may close this issue.
Which @ngrx/* package(s) are relevant/related to the feature request?
eslint-plugin
Information
The ESLint rule should detect the following cases as valid/invalid:
Describe any alternatives/workarounds you're currently using
No response
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: