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

Operator overloading? #55198

Closed
takegine opened this issue Jul 29, 2023 · 2 comments
Closed

Operator overloading? #55198

takegine opened this issue Jul 29, 2023 · 2 comments

Comments

@takegine
Copy link

My usage scenario has implemented operator overloading. However, the type is still not supported on TS. Hopefully ts will provide a built-in generics that will allow me to omit strong conversion types。

type __NumberLike = number & Record<Exclude<keyof number, 'toString'>, never>;

declare type Vector = __NumberLike & {...}

image
image

@MartinJohns
Copy link
Contributor

You forgot to fill out the issue template for feature requests.

Sounds like a duplicate of #42218 / #5407.

@RyanCavanaugh
Copy link
Member

To expedite the triage process, we need everyone to follow the issue template and instructions.

When you clicked "Create New Issue", the issue form was pre-populated with a template and some instructions. We need you to read those instructions completely, follow them, and then fill in all the fields in that template.

We are not able to assist with issues that don't follow the template instructions as they represent a significantly larger amount of work compared to issues which are correctly specified. Thank you for understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants