Skip to content
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

Ignore TS Warning possibly undefined #866

Open
curran opened this issue Oct 3, 2024 · 0 comments
Open

Ignore TS Warning possibly undefined #866

curran opened this issue Oct 3, 2024 · 0 comments
Assignees

Comments

@curran
Copy link
Contributor

curran commented Oct 3, 2024

image

Repro:

  const foo = [1, 2, 3].find((i) => i === 2);
  console.log(foo + 1);

This one makes sense for TS but not JS.

@curran curran moved this to RCOS Fall 2024 in VZCode Kanban Oct 3, 2024
@TroyG-11 TroyG-11 self-assigned this Oct 4, 2024
curran added a commit that referenced this issue Oct 9, 2024
…ndefined-#866-fix

Ignore TS warning possibly undefined #866 fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: RCOS Fall 2024
Development

No branches or pull requests

2 participants