You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Love what you guys are going with Away3D and TypeScript. I just wanted to point out that you can use the import statement to clean up how TypeScript classes with namespaces are used.
You can use the import statement within the module like:
When we started development of Away3D TypeScript this is something we spent a lot of time looking into ( we started development on Away3D with TypeScript 0.81 ). At the time we encountered some compiler issues with extending classes and clashing variable names for import statements.
If memory serves me right (and it could not), I think the issue was: View3D in your example would throw a compiler error if it was imported in a Parent and Super implementation of a class.
I need to go back and write a simple test/and report a bug (if it's still there) / or propose and update to Away3D lib. Either way - thank you for the post.
Happy to say it looks like the issue we had with this in 0.81 is no longer there... needs some more testing - but this is something I would indeed be very happy to use (and we looked into) . Thank you Robert ...
Love what you guys are going with Away3D and TypeScript. I just wanted to point out that you can use the import statement to clean up how TypeScript classes with namespaces are used.
You can use the import statement within the module like:
I wrote a tutorial about it here:
http://www.codebelt.com/typescript/javascript-namespacing-with-typescript-internal-modules/
The text was updated successfully, but these errors were encountered: