Skip to content

"is X" in SwitchStatement #49133

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

Closed
streamich opened this issue May 16, 2022 · 1 comment
Closed

"is X" in SwitchStatement #49133

streamich opened this issue May 16, 2022 · 1 comment
Labels
Duplicate An existing issue was already created

Comments

@streamich
Copy link

Bug Report

... is Uint8Array helper method is not working in SwitchStatement, but is working in IfStatement.

image

export const isUint8Array = (x: unknown): x is Uint8Array =>
  x instanceof Uint8Array || Buffer.isBuffer(x);
@MartinJohns
Copy link
Contributor

You forgot to fill out the issue template.

Duplicate of #37178 / #8934.

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants