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

Use computed properties in input helpers #6

Closed
wants to merge 1 commit into from

Conversation

mohsen1
Copy link
Member

@mohsen1 mohsen1 commented Apr 5, 2015

No description provided.

@bvaughn
Copy link
Member

bvaughn commented Apr 5, 2015

Just curious...why? :)

@bvaughn
Copy link
Member

bvaughn commented Apr 5, 2015

By the way, looks like TypeScript doesn't support computed properties microsoft/TypeScript#1811. It's not even on their roadmap yet, beyond "spec it out". So I'm going to close this.

@bvaughn bvaughn closed this Apr 5, 2015
@mohsen1
Copy link
Member Author

mohsen1 commented Apr 5, 2015

This PR is not a big deal. So don't worry about it. Looking at the produced code I see it does support computed properties. Maybe because we are using alpha TypeScript it has edgy features

@bvaughn
Copy link
Member

bvaughn commented Apr 5, 2015

I would consider "supporting computed properties" as "recognizes and transpiles them" since at this point no one supports them outside of recent Firefox. I don't think we should change 3 lines to 2 lines when those 2 lines aren't supported by anyone unless we're going to transpile it

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