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

TypeScript outdated #24

Open
parliament718 opened this issue Sep 5, 2013 · 1 comment
Open

TypeScript outdated #24

parliament718 opened this issue Sep 5, 2013 · 1 comment

Comments

@parliament718
Copy link

It seems that TypeScript implementation in FiddleSalad is not targeting ES5 syntax and therefore cannot use several TS features like properties:

"Property accessors are only available when targeting ES5 or greater."

From the following:

class SomeBackboneModel extends Backbone.Model {

    public get PointsData(): IPoint[]  { return this.get("PointsData");

}

It should be trivial to correct this so please do, thanks!

@parliament718
Copy link
Author

Actually, it seems to generate the correct Javascript so nvm on this being a blocking issue, it's actually just a warning that should not be there so fixing would prevent confusion for others.

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

1 participant