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
In particular in my IDE,
Property 'bar' does not exist on type 'Foo | Error'. Property 'bar' does not exist on type 'Error'.ts(2339)
The code:
const { ok, err, val } = await someAsyncCallWithResults<Foo, Error>Implemented() expect(val.bar).toBeDefined
Code compiles without error using tsc so I suspect this is a VSCode/ESLint config issue.
tsc
I realize this may not truly be a ts-results issue, but perhaps someone who uses this lib can point me in the right direction to resolve the issue?
ts-results
Thank you.
Refs: eslintrc.json My base tsconfig.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In particular in my IDE,
The code:
Code compiles without error using
tsc
so I suspect this is a VSCode/ESLint config issue.I realize this may not truly be a
ts-results
issue, but perhaps someone who uses this lib can point me in the right direction to resolve the issue?Thank you.
Refs:
eslintrc.json
My base tsconfig.json
The text was updated successfully, but these errors were encountered: