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

Compatibility with Typescript #373

Closed
robinchesterman opened this issue Jun 29, 2013 · 1 comment
Closed

Compatibility with Typescript #373

robinchesterman opened this issue Jun 29, 2013 · 1 comment

Comments

@robinchesterman
Copy link

Backbone Relationall doesn't seem to play nice with Typescript. When I try to initialize any model that extends Backbone.RelationalModel:

Uncaught TypeError: Object function Entity() {
_super.call(this);
} has no method 'initializeModelHierarchy'

I saw a similar issue (#91) with Coffeescript was solved - it would be great if there was anything that could be done for Typescript.

@robinchesterman
Copy link
Author

My apologies. Calling setup() works for Typescript just as it does for Coffeescript. Typescript compiler was throwing me curveballs.

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

2 participants