Skip to content

Conversation

v-jester
Copy link

No description provided.

Copy link
Member

@tshemsedinov tshemsedinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can't represent this in TypeScript. Because move method and methods clone and toString will never appear in a single object. In TS constructor can't return other class/interface so we can't add interface PointInstance with two methods whole Point { move }

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

Successfully merging this pull request may close these issues.

2 participants